This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am developing a Struts2 application with Tiles2 via eclipse and tomcat 5.5. But My application is not detecting my action class. Can any one please help?
Struts2 version: 2.1.6
following is my struts.xml file
Here is the error
Sep 15, 2011 12:31:32 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
WARNING: Could not find action or result
No result defined for action com.test.home.action.HomeAction and result success
Here is the action class:
But the action class is present in the source folder and returns SUCCESS as well.
Please let me know if more information is required
Post your project struture with file names how you defined.
ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
Joined: Sep 13, 2011
Thanks... I got it resolved, the only thing missing was namespace="/" in struts.xml package declaration.....