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?
Enjoy the full beauty of the english language. Embedded in this tiny ad: