Hi people,
This question might be asked by several number of newbies to structs2 and perhaps it has been answered.So please let me ask this question again.I have written a simple structs2 program which gives the customized greeting based on the name entered.
This is the development structure of the application
Structs_Test
Java Resources
src
com.nuwan
HelloWorld.java
Resources
structs.xml
WebContent
META-INF
WEB-INF
lib
commons-logging-1.1.jar
freemarker-2.3.8.jar
ognl-2.6.11.jar
struts2-core-2.0.11.jar
xwork-2.0.4.jar
web.xml
HelloWorld.jsp
Index.jsp
Okey This is the index.jsp page I have included.
The action HelloWorld is mapped to the HelloWorld class in com.nuwan package.Then this is the structs.xml file
This is the warning message I got when I run the structs_test application and index page is displayed.
By the way if I submit the name browser show the 404 :The requested resource (/Structs_Test/HelloWorld) is not available.
Can somebody explain me where I did mistakes in the code.
Thanks & Regards,
Nuwan Arambage