As a newbie to Struts, I tried to duplicate the logon example from bluestone
and I got the above error.

This is my struts-config.xml
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
   "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN"
   "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>
<struts-config>
 <form-beans>
   <form-bean name="logonForm"
   type="com.twjconsulting.survey.actionform"/>
 </form-beans>

 <action-mappings>
   <action path="/"
                   type="com.twjconsulting.survey.actionform"
                   name="logonForm">


                <forward name="success" path="success.jsp" />

                <forward name="failure" path="failure.jsp" />

   </action>
 </action-mappings>
</struts-config>


I put both LogonForm.java and LogonAction.java files under
web-inf/classes/com/twjconsulting/survey/actionform.

Thank you for your time & help.

Thinh

Reply via email to