This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Invoking a simple action generates error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Invoking a simple action generates error" Watch "Invoking a simple action generates error" New topic
Author

Invoking a simple action generates error

midassolutions midas
Greenhorn

Joined: Apr 21, 2011
Posts: 1
I am working on a project nearing completion.When i add a new action in struts.xml the browser generates an exception


Struts.xml


Please note that i already have lots of actions in my struts.xml which work but for some reason this new action is generating an error.
Please help.
Thanks
Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

the coding style for struts 2.0 and 2.2 is different. check if you are using 2.2 style in 2.0's verion, It wont work.


Regards, Atul.
I came to this world on a Learner's License
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Invoking a simple action generates error
 
Similar Threads
struts2 s:doubleselect with FreeMarker template error
Inserting Freemarker Result into my page
struts.xml problem in struts2
how to apply theme as ajax to the jsp form with struts2-core-2.1.6.jar used struts 2 application ?
struts page display error