Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Tired of being getting WARNING: No configuration found for the specified action: 'HelloWorld' in ... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Tired of being getting WARNING: No configuration found for the specified action: Watch "Tired of being getting WARNING: No configuration found for the specified action: New topic
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tired of being getting WARNING: No configuration found for the specified action: 'HelloWorld' in ...
 
Similar Threads
newbie, execute method not working
The Struts dispatcher cannot be found Error
Validation Issues
Struts 2 problem-actions cant find the result. WARNING: Could not find action or result
struts Action mapped error