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.
note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server Platform Edition 9.0_01 logs.
Sun Java System Application Server Platform Edition 9.0_01
Sun Java System Application Server Platform Edition 9.0_01 - Error report
HtmlFormAction.class exists in WEB-INF\classes directory. and it code is as follows -
The code of other two jsps and struts-config.xml is as follows -
FirstCall.jsp - This file would be called at first
HtmlFormValues.jsp - The action would forward the control to this jsp at last
The issue is resolved now. What I noticed that if we keep the class files in default package it does not work and give the class not found exception. If we keep the class in a specific package and update the struts-config.xml to include the package name as well in type, it works fine.
Still it is not clear to me why, but I know that it's working fine for me now. Could you give your thoughts on it, if you have some idea?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Struts is not getting the action file. Throwing class not found exception - struts 1.3