This error occurs when you try to display a
JSP and the Struts ActionServlet hasn't initialized properly. Ninety-nine percent of the time the reason it hasn't initialized properly is that there is an XML parsing error in parsing the struts-config.xml file. In order to find the specific error, you need to look at the System Out log for your app server that is generated when the app server first starts up. Sometimes the log will even give you the specific line number where the error is occurring. Find that log, and post the errors here. Also post your revised struts-config.xml file. In Tomcat that log is in <tomcat Install dir>/logs/catalina-<todays date>.log. You might also look at stderr<date>.log.
One other suggestion: It is not a good idea to use the
java default package in a web application because of the way ClassLoaders work within a web application. I'd suggest you put both your ActionForm class and your Action class in a package, and put the class name including the package in your struts-config.xml file.
[ November 25, 2006: Message edited by: Merrill Higginson ]