• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tired of being getting WARNING: No configuration found for the specified action: 'HelloWorld' in ...

 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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



 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic