Comment on Tutorial - Creating the first application using Struts 2 By Gokul Verma



Comment Added by : Pavan Barot

Comment Added at : 2010-07-11 23:32:35

Comment on Tutorial : Creating the first application using Struts 2 By Gokul Verma
/*Web.xml File */

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"

&#160;&#160;&#160; xmlns=&quot;<a href="http://java.sun.com/xml/ns/j2ee&quot;">http://java.sun.com/xml/ns/j2ee&quot;</a>

&#160;&#160;&#160; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance&quot;">http://www.w3.org/2001/XMLSchema-instance&quot;</a>

&#160;&#160;&#160; xsi:schemaLocation=&quot;<a href="http://java.sun.com/xml/ns/j2ee">http://java.sun.com/xml/ns/j2ee</a>

<a href="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd&quot;">http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd&quot;</a>&gt;

&#160;&#160;&#160; &lt;display-name&gt;Struts2 : Hello World&lt;/display-name&gt;

&#160;&#160;&#160; &lt;filter&gt;

&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;filter-name&gt;struts2&lt;/filter-name&gt;

&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;filter-class&gt;org.apache.struts2.dispatcher.FilterDispatcher&lt;/filter-class&gt;

&#160;&#160;&#160; &lt;/filter&gt;

&#160;&#160;&#160; &lt;filter-mapping&gt;

&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;filter-name&gt;struts2&lt;/filter-name&gt;

&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;url-pattern&gt;/*&lt;/url-pattern&gt;

&#160;&#160;&#160; &lt;/filter-mapping&gt;

&#160; &lt;welcome-file-list&gt;

&#160;&#160;&#160; &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;

&#160; &lt;/welcome-file-list&gt;

&lt;/web-app&gt;


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. i m new in java plz send some programs of java usi
View Tutorial          By: supriyo at 2009-09-02 02:03:38

2. Si AIZA DIN< DI MARUNONG MAGTURO
View Tutorial          By: Agnes at 2010-06-25 22:34:29

3. Sir, I need to use MS Access as a database in java
View Tutorial          By: John Moses at 2012-03-31 00:20:38

4. Hi I have a USB bluetooth that plug in my computer
View Tutorial          By: venkat c s at 2008-07-21 12:15:46

5. very simple explanation......
easily unders

View Tutorial          By: saurabh at 2009-04-17 16:02:30

6. The code sample in this tutorial is good. It would
View Tutorial          By: Anon at 2009-06-05 03:36:59

7. @ parul : check whether your are passing class fil
View Tutorial          By: heramb at 2012-03-28 07:15:21

8. Please send me the multithreading chat application
View Tutorial          By: Vaibhav at 2010-06-23 23:58:43

9. program is very long
View Tutorial          By: ajit kumar at 2012-04-21 03:57:13

10. Very helpful and easily understandable!
View Tutorial          By: Teerna at 2014-11-12 23:55:49