Home Tutorialhelp Comment pls correct the following changes

 
 

Comment

Gaurav
pls correct the following changes,
February 10, 2010 at 3:38 PM

The tutorial out here is not correct and there are some loose gaps which takes asses of the newbie to figure out... anyways after spending good amount of hours finally able to run the example..

2 imp things missed out here..

1> in the web.xml add filter def.

<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>


and 2nd in the index.html

replace the meta tag with

<META HTTP-EQUIV="Refresh" CONTENT="0;URL=roseindia/HelloWorld.action">

anyways.. would still appreciate the article but would request to make the slight changes as discussed above.



Gaurav

View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Struts 2 Tutorials

Struts 2.1.8 Hello World Example
Struts 2.1.8 Hello World Example     ... to develop simple Hello World example in Struts 2.8.1. You will also learn how... started with the Hello World tutorial using Struts 2.1.8: The web configuration 

Struts 2 Tutorials

Struts 2 Hello World Example
Struts 2 Hello World Example - Video Tutorial that shows how to create Hello... how to develop 'Hello World' application in Struts 2 framework. We... the step-by-step process to create the Hello World application using the Struts 

Struts-Tutorials

Struts 2 Hello World Application Example, Learn how to develop Hello World application in struts 2.
Struts 2 Hello World - Developing Hello World Application...; In this section we will develop Hello World application based on Struts 2 Framework. Our Struts 2 Hello World application is your first step towards 

Struts Questions

struts2 - Struts
struts2  hello, am trying to create a struts 2 application that allows you to upload and download files from your server, it has been challenging for me, can some one help  Hi Friend, Please visit the following 

Struts 2 Tutorials

Struts 2 Hello World Application using Eclipse
Creating Hello World application in Struts 2 version 2.3.15.1 using Eclipse In this example we will learn how to make a Hello World Example in Struts 2...="/Struts2HelloWorld/roseindia/HelloWorld.action">Test Struts 2 Hello World example!!< 

Struts 2 Tutorials

Struts 2 Hello World Annotation Example
Video tutorial of creating Struts 2 Hello World Annotation Example in Eclipse... of creating Struts 2 Hello World Annotation Example: Let's Starts... will explain you the process of writing first Hello World example in Struts 2 

Struts-Tutorials

Developing JSP, Java and Configuration for Hello World Application
and required configuration files for our Struts 2 Hello World application. Now... on the "Run Struts 2 Hello World Application" link on the tutorial...;Struts 2 Hello World Application!</title> </head> <body> 

Struts Examples

Struts 2 configuration files
Struts 2 configuration files       For developing "Hello World" application you need the following files...: Struts 2 uses the struts.xml file for configuring the application. Create 

Struts Questions

<s:radio> in struts 2 is not setting the correct value. - Struts
in struts 2 is not setting the correct value.  hello, i m using the following code in my jsp: where pa is HashMap object defined in action class with getter/setter as pa = new HashMap(); pa.put("1","Yes"); pa.put("2 

Struts Questions

tiles 2 with struts2 - Struts
tiles 2 with struts2   i wnat any one to guide me : how can i integrate struts2 with tiles2 i searched for long time on the web i see many code and configurations but every one of them has a problem can any one give me   

Struts Questions

Struts2
Struts2  Hi, I need a solution for displaying success message in same page in struts2. how to redirect same page in struts2.Please help me.   hi friend, To know how redirect action can be done in struts 2 you can go 

Struts Questions

Struts2 Helloworld problem -Please help - Struts
/* Login.jsp I also routed my class files to the following path...Struts2 Helloworld problem -Please help  Hi I am a beginner in Struts2. I tried some HelloWorld example in Struts2, to understand. But due to some 

Struts Questions

Error - Struts
to test the examples Run Struts 2 Hello... ----------------------- RoseIndia.Net Struts 2 Tutorial RoseIndia.net Struts 2... these two files. Do I have to do any more changes in the project? Please 

Struts-Tutorials

Struts 2 Guide
created the directory structure and ant build file for our Struts 2 Hello World... and deployment of "Hello World" quick Struts 2 guided tutorial. Example... "Hello World" application in Struts 2. This is your first step towards 

Struts Examples

Struts 2 Tutorial
configuration files for our Struts 2 Hello World application. Now in struts 2...; Struts 2 Hello World Application Creating the development directory... 2 Hello World application based on Struts 2 framework. Our Struts 2 Hello 

Struts 2 Tutorials

Developing Hello World application
Hello World Example A Hello World Example given below which shows the basic... the example</p> <b>Hello World Example</b><br> <a href="roseindia/HelloWorld.action?request_locale=en">Hello World 

Struts Questions

Hello - Struts
to going with connect database using oracle10g in struts please write the code... soniya, Please implement following code...://www.roseindia.net/struts/ Thanks Amardeep 

Framework Questions

Struts 2
Struts 2  we can extend DispatchAction class to implement a common session validation in struts 1.x. how to do the same in the struts2 

Struts Questions

Value Retain in struts 2 - Struts
Value Retain in struts 2   Hi, I am trying to retain values in .jsp pages using struts2 tag.Can anyone help with the solution. Thanks in advance!  hi You go the following url. Get your solution 

Struts Examples

Struts 2, JPA and Hibernate Training
2 architecture Struts 2 Action Developing hello world application in Struts 2 Struts 2 configuration files Deploying Struts and testing struts 2 hello world application Hibernate Introduction 

Struts Questions

struts 2 problem with netbeans - Struts
struts 2 problem with netbeans  i made 1 application in struts2... is wrong between this don't knows 1) 2) /index.jsp... visit the following link: http://www.roseindia.net 

Struts Questions

Pls review my code - Struts
Pls review my code  Hello friends, this is my code in struts action class this page contains checkboxes and radiobuttons also. when i enter... { flag = 2; ps.setString(9,aleForm 

Struts Questions

Hello - Struts
the input data or desired format changes, when it might be more convenient to the end 

Struts Questions

Struts2 ComponentTagSupport - Struts
Struts2 ComponentTagSupport   I am working on struts2 custom tags... populateParams() { super.populateParams(); HasPermission hello... body help me.  Hi Friend, Please visit the following link: http 

Struts 2 Tutorials

Struts 2 Tutorials - Struts version 2.3.15.1
dependency of Struts 2.3.15.1 Creating Hello World application in Struts 2 version... IDE Hello World application annotation version Struts 2 in Agile Development...Struts 2 Tutorials - Struts version 2.3.15.1 Struts 2 Tutorials covered 

Struts Questions

if we have 2 struts-config files - Struts
, No we cannot have 2 struts-config.xml files. In one case we can use 2 struts-cofig.xml files with some minor change in the file name. i e we can use...if we have 2 struts-config files  if we have declared 2 struts 

Struts-Tutorials

Deploying Struts and testing struts 2 hello world application
Deploying Struts and testing struts 2 hello world application   ...\struts2\struts2helloworld\WEB-INF\src> Testing Struts 2 Hello.../ and then select "Run Struts 2 Hello World Application" from the list.  

Struts Questions

Struts 2 Tutorial
Struts 2 Tutorial  Hi, Iâ??m taking your Struts 2 Tutorial at http://www.roseindia.net/struts/struts2/struts-2-hello-world-files.shtml. When I open http://localhost:8080/struts2tutorial/ under â??Testing Struts 2 Hello 

Struts Examples

Introduction to Struts 2
Introduction to Struts 2       This section provides you a quick introduction to Struts 2 framework. This section we are discussing the new features, struts 2 basics and architecture 

Struts Questions

struts2
struts2  dear deepak sir plz give the struts 2 examples using applicationresources.properties file 

Struts Questions

Struts 2
Struts 2  I am getting the following error.pls help me out. The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has 

Framework Questions

Struts 2 Validation
Struts 2 Validation  Hello,I have been learning struts. I have a problem in the validator tag. I have tried tutorials and got those. I have...(10) not null, constraint pkusers primary key (userid) ); PS: Use correct 

Struts 2 Tutorials

Struts2.2.1 hello world annotations Example
Struts2.2.1  hello world annotations Example  In this tutorial, We will discuss about hello world application using annotation and how to apply... the annotation in the Struts2.2.1 -- Directory structure of the Hello world application 

Struts Questions

Struts2 connection pooling - Struts
Struts2 connection pooling  Dear Friends , How to make connection pooling in "Struts 2 

Struts Questions

Struts2 connection pooling - Struts
Struts2 connection pooling  Dear Friends , How to make connection pooling in "Struts 2 

Struts Questions

struts2+hibernate - Struts
struts2+hibernate  How to use hibernate 3 with struts 2 application? kindly reply with example 

Struts 2 Tutorials

Struts2.2.1 hello world annotations Example using Properties
Struts2.2.1  hello world annotations Example using Properties  In this tutorial, We will discuss about hello world annotation application using... in the Struts2.2.1 -- Directory structure of the Hello world annotation application 

Struts Questions

struts2
struts2   Sir when i have run my struts 2 web application,every time i get error " request resources is not available",,,what is this,,,plz help me 

Struts Questions

Struts 2 problem - Struts
Struts 2 problem  Hello I have a very strange problem. I have an application that we developed in JAVA and the application works ok in Windows... seemed to worked fine, until the user reported to us a problem. After doing 

Struts-Tutorials

Struts 2.2.1 - An introduction to Struts 2.2.1 Features
will show Hello World Example in Struts 2.2.1... is another advanced version of Struts 2. Struts is used to develop enterprise Java web applications. Struts 2 is based on MVC design pattern, which helps 

Struts 2 Tutorials

Introduction to Struts 2 Framework
and installing Struts 2 Writing and testing your first Hello World Application using... tutorial I will teach you how to develop Hello World application in Struts 2.... Welcome to the world of web application development using Struts 2 Framework 

Struts Questions

jsp to struts 2 action conversion problem - Struts
jsp to struts 2 action conversion problem  i have one jsp page... page to a struts2 action?among that one jsp page is wrritten using jpivot,wct tags... Friend, Please visit the following links: http://www.roseindia.net 

Struts Questions

Struts 2 File Upload error
Struts 2 File Upload error  Hi! I am trying implement a file upload using Struts 2, I use this article, but now the server response the error... solve this?   Hi Friend, Please visit the following link: File 

Struts 2 Tutorials

Struts 2 MySQL
Struts 2 MySQL       In this section, You will learn to connect the MySQL database with the struts 2 application...;/struts-tags" %> <html> <head> <title>Struts 2 

Struts Questions

My first struts 2 program
My first struts 2 program  Hi, Please help me for my first struts 2... from one page to another. Details: I am trying my first Struts 2 example... to displaypage. Thanks, Shobhana.K   Hi Friend, Please visit the following link 

Struts Questions

Struts 2 RequiredFieldValidator - Struts
What is Struts 2 RequiredFieldValidator? Need an Example or Code  What is Struts 2 RequiredFieldValidator? Need an Example or Code on Field Validation in Struts 2.  Please follow the following instruction:1. index.jsp 

Flex 4

Flex 4 Hello World
Flex 4 Hello World Developing Hello World Example in Flex 4 using Flash Builder 4 Before creating Hello World example, you need flash builder 4 installed.... For this example, change text to "Hello World in Flex 4", text font size 

Blog

Sitemap Struts Tutorial
Struts 2.1.8 | Struts 2.1.8 Show case | Struts 2.1.8 Hello World | Struts Login Application | Struts 2 | Struts1 vs Struts2 | Introduction... directory Structure | Writing Jsp, Java and Configuration files | Struts 2 xml 

Struts Questions

struts
struts  in industry, struts 1 and struts 2. which is the best? which is useful as a professuional   Have a look at the following link: Struts Tutorials 

Struts Examples

Detailed introduction to Struts 2 Architecture
Following diagram shows the high level architecture of Struts 2 Framework:   Detailed Architecture of Struts 2 Framework Following diagram shows... the architecture of Struts 2 Framework. Following diagram shows that the initial 

Wicket

"Hello World" example in Wicket
;     Hello World example is everybody's...; example we need to create following three files: HelloWorldApplication.java...;Hello World!" message. Full code of  HelloWorld.java  

Struts Questions

Struts tutorial
Struts tutorial  Please send the Struts meterial and required jar files   Please visit the following links: Struts Tutorials Struts2 Tutorials 

General

EJB Hello world example
EJB Hello world example      ... example we are going to show you, how to create your first hello world example in EJB and testing it. You can also create a hello world example to test your 

Struts Questions

Struts2 Validation Problem - Struts
in the browser having the example of handling the error in struts 2. http... information on Struts 2 visit to : http://www.roseindia.net...Struts2 Validation Problem  Hi, How to validate field 

Struts Examples

Why Struts 2
Why Struts 2       The new version Struts... of design problem of struts1 framework that has been resolved in the struts 2 framework. Most of the Struts 2 classes are based on interfaces and most of its 

Struts Questions

Struts 2 - Beganner
Struts 2 - Beganner  Hi ! I am new to Struts2 and I need clarification over Difference between Action Proxy and Action Mapper in struts2 and When both perform their activity?????? Many Thanks Venkateshlu 

Struts Questions

Struts 2 + hibernate
Struts 2 + hibernate  How to integrate Struts 2 and Hibernate? Its... struts 2 and hibernate. Struts2.2.1 and hibernate integration application Integrate Hibernate to struts2 

Struts Questions

Struts 2 Radio without Label
Struts 2 Radio without Label  I Use a s:radio tag to create a grid to choice one option, but when i render my jsp the value of the radio is showed...;Hello Friend, Please go through the following link: Visit Here Thanks 

Android

Android Studio Hello World Tutorial
Android Studio Hello World Tutorial - Learn application development using Android Studio IDE Video tutorial on developing Hello World Example using Android... the steps you should follow to quickly develop and test the Hello World example 

Struts Questions

query on struts2 - Struts
query on struts2  I am using struts2 for my application.i have a form that contains 'select' tag, for this i am getting values form DB. The problem is after i am submitting the form it is giving the following error 

Struts Questions

how to prepopulate data in struts2 - Struts
how to prepopulate data in struts2  I wanted to show the data from database using Struts 2 

Struts 2 Tutorials

Struts 2.2.1 - Struts 2.2.1 Tutorial
Developing Hello World application Running and testing the example Struts 2 hello world application using annotation Running... Implementing Actions in Struts 2 Chaining Actions in Struts 

JSP Servlet Questions

struts
struts  how to start struts?   Hello Friend, Please visit the following links: http://www.roseindia.net/struts/ http://www.roseindia.net... can easily learn the struts. Thanks 

Struts Questions

struts
struts  which is the best book to study struts on own? please tell me   You can learn struts through the following books: 1)Programming Jakarta Struts By Chuck Cavaness 2)Professional Jakarta Struts By James Goodwill 

Struts Questions

struts
struts  which is the best book to study struts on own? please tell me   You can learn struts through the following books: 1)Programming Jakarta Struts By Chuck Cavaness 2)Professional Jakarta Struts By James Goodwill 

Struts Questions

Struts2 blank application - Struts
Struts2 blank application  Hi I am new to struts2 and i am trying to run the strutsblank application by following the following Link; http://www.roseindia.net/struts/struts2/index.shtml As per the instructions given 

Struts 2 Tutorials

Struts 2 hello world application using annotation
Struts 2 hello world application using annotation Annotation...;)}) An annotation Based Hello World example is given below which takes user name as input... given below Hello World Example1 Hello World Example2 

Struts Questions

pls review my code - Struts
pls review my code  Hello friends, This is the code in struts. when i click on the submit button. It is showing the blank page. Pls respond soon its urgent. Thanks in advance. public class LOGINAction extends Action 

Struts Questions

using displaytag with struts2 - Struts
using displaytag with struts2   Hi, i am using struts2 framework... it more simple and better to use than struts2 tag to generate the output on web page. Now, no doubt that struts2 is a very powerful framework to develop any 

Struts Questions

struts2 - Struts
Struts2 and Ajax Example  how to use struts2 and ajax 

PHP

ZF Hello World
with "Hello World" program. This tutorial is not an exception... are present in the application directory to handle these files. As per...: This directory holds the library files (e.g. ZF's library files etc.) and we 

Struts Questions

First Struts Application - Struts
First Struts Application  Hello, Hello, I have created a struts simple application by using struts 1.2.9 and Jboss 4.0.4. I am getting... for path /WEB -INF/struts-config.xml struts-config.xml and web.xml files 

Struts Questions

Struts2 Internationalization
the following links: http://www.roseindia.net/struts...Struts2 Internationalization  Hi How to use i18n functionality for indian languages in struts2 ? I am able to use french and english but none 

Struts 2 Tutorials

Struts2 Application in Eclipse: Running the application in Eclipse IDE
in Struts 2 read the tutorial Creating Hello World application in Struts 2 version... in one click. Step 2: Open the Eclipse and expand the Struts 2 Hello World... Hello World example!!" link to run the Hello World Struts 2 example project 

Struts Questions

struts2 - Struts
struts2  how to pre populate the fields using struts2 from the database 

Struts Questions

Time Picker in struts 2 - Struts
Time Picker in struts 2  How to create Time Picker in Struts 2 ? ...;</ul>2. struts.xml (Add the following code)<action name="...;head> <title>Struts 2 Time Picker Example!</title> 

Programming Tutorials

Struts 2 Application
Struts 2 Application Developing user registration application based on Struts 2 Framework This Struts 2 Application is a simple user registration application that will help you to learn how to develop real world applications using Struts 

Struts Questions

Value Retain in struts 2 - Struts
Value Retain in struts 2   I tried with the example, but i can get the solution for retaining the value in drop down.  hi You go the following url. Get your solution for getting all records in drop down: URL: http 

Struts-Tutorials

Struts 2 - History of Struts 2
Struts 2 History       Apache Struts...; Strut2 contains the combined features of Struts Ti and WebWork 2 projects... of WebWork2 has changed to Struts2. Hence, Apache Strut 2 is a dynamic, extensible 

Struts 2 Tutorials

Struts 2 Redirect Action
. You can see a simple implementation of this in the following struts 2...Struts 2 Redirect Action       In this section, you will get familiar with struts 2 Redirect action 

Struts Questions

Java - Struts
Java  What is the difference between Struts and Struts2. Pls explain with a simple example.   HI, Please check http... between Struts 1 and Struts 2. Thanks 

Struts Examples

Struts 1.x Vs Struts 2.x
but in case of Struts 2, Actions are not container dependent because they are made simple POJOs. In struts 2, the servlet contexts are represented as simple Maps which allows actions to be tested in isolation. Struts 2 Actions can access 

Struts Questions

Necessary Jar and War files for struts - Struts
, what are d necessary jar war files for struts to run webapplication.  Necessary Jar files for struts: 1. struts-core-1.3.10.jar 2. struts...: struts-blank-1.3.10.war   Necessary Jar files for struts: 1. struts 

Struts 2 Tutorials

Struts 2 version 2.3.15.3 released
Struts 2 version 2.3.15.3 released - Download and use the latest version of Struts 2 The latest version Struts 2, version  2.3.15.3 released... is designation as the the highest quality grade release. Apache Struts 2 is very 

Struts Questions

Struts 2 Radio Button
Struts 2 Radio Button  I have a search functionlaity where i have two radio buttons and I am using Struts2 tag.I want first rado button to be selected by default.But when i select the second radio button and hit on search 

Framework Questions

struts2 - Framework
and mainly i want support with tiles(struts 2)...now which struts2 jars i have to use...struts2  Hello, I am sathish.. I got problem in stuts2 ? Do tomcat5.5 support struts2 ? Now , currently my application running on tomcat 6 

Framework Questions

struts2 - Framework
struts2  Hello, I am sathish i got one problem with struts2 framework...i want to create a jsp page in struts2 i need two buttons in tha jsp...; Hi Satish, Struts 2 uses tiles internally and hence if you dont specify 

Struts Questions

Diff between Struts1 and struts 2? - Struts
describes some differences between struts1 and struts2 Feature Struts 1 Struts 2...Diff between Struts1 and struts 2?  What are the difference in between Struts 1 and Struts 2?  Hi Gaurav There is a big difference 

Struts Questions

Struts - Struts
Java Bean tags in struts 2  i need the reference of bean tags in struts 2. Thanks!  Hello,Here is example of bean tags in struts 2:http://www.roseindia.net/struts/struts2/struts2controltags/bean-tag.shtmlIn Struts 2 UI 

Struts Questions

Struts2 - Struts
Struts2  Hi, I am using doubleselect tag in struts2.roseindia is giving example of it with hardcoded values,i want to use it with dynamic values. Please give a example of it. Thanks 

Struts 2 Tutorials

Struts 2 Session Scope
Struts 2 Session Scope      ... to do the following: Download Struts2 from Apache.org Deploy the jars...; <struts> <!-- Rose India Struts 2 Tutorials --> 

Struts Questions

Cannot run Struts 2 on IntelliJ Project - Struts
Cannot run Struts 2 on IntelliJ Project  I have been trying to run Struts 2 on IntelliJ IDEA for the past two weeks, can anyone help with basic example? starting from struts 2 configuration and installation. its very urgent 

Framework Questions

tiles using struts2
tiles using struts2  hello, im implementing tiles using struts2 in eclipse. i am having following problem occurred during execution.i have created all neccessary settings of jar files. plz help me 

Spring Framework

Develop Hello World example using Spring 3.0 Framework
Spring 3 Hello World Example   ..., create new project in Eclipse IDE and then write simple Hello World application... to the project. Now we can proceed with our Spring 3 Hello World example. Step 8 

Struts Examples

Struts 2 Training
Struts 2 Training       The Struts 2 Training for developing enterprise applications with Struts 2 framework. Course Code: STRUS-2 Duration: 5.0 day(s) Apply for Struts 2 Training Lectures 

Programming Tutorials

Hello world
to) Hello World Write the following code into your note pad to run the Hello... Hello world (First java program)   ... and can be run on any operating System. Writing Hello World program is very 

Struts-Tutorials

Struts Articles
rendering. Developing JSR168 Struts portlets: Part 2. Enhancing... mapping definitions in the struts-config file. 2. Servlet creates.... 2. Extends Struts FormTag class; overrides doAfterBody method 

Struts Questions

Hello - Struts
 

Struts Questions

Struts - Struts
Struts  Hello I like to make a registration form in struts inwhich... be displayed on single dynamic page according to selected by student. pls send.... Struts1/Struts2 For more information on struts visit to : http://www.roseindia.net 

Struts 2 Tutorials

Struts 2 Tutorial: Easy steps to learn Struts 2
Struts 2 Tutorial: Easy steps to learn Struts 2 Apache Struts 2 is a popular... web applications. Struts 2 framework covers the entire development cycle... the maintenance of the application with time. Originally, Struts 2 was called WebWork 2 

Advertisements Advertisements
 

 

 

DMCA.com