| Author |
Tired of being getting WARNING: No configuration found for the specified action: 'HelloWorld' in ...
|
Nuwan Arambage
Ranch Hand
Joined: May 05, 2010
Posts: 76
|
|
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
|
Thinker
Nuwan Arambage
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8265
|
|
|
The first thing that jumps out at me is that the spelling of "Struts" is wrong. This wouldn't matter for most of your code, except for struts.xml.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
 |
|
|
subject: Tired of being getting WARNING: No configuration found for the specified action: 'HelloWorld' in ...
|
|
|