My struts-config.xml

        <form-beans>
                <form-bean name="testForm" type="mybean.TestForm" />
        </form-beans>

        <action-mappings>
            <action path="/testPage" type="myaction.TestAction"

Remove this attribute


attribute="testForm"

and replace with


name="testForm"


                               scope="request"
                        validate="false">
                <forward name="success" path="/TestForm.jsp"/>
            </action>
            <action path="/saveTestPage" type="myaction.DummyAction" input="/TestForm.jsp" 
name="testForm">
            </action>
        </action-mappings>

'name' is the name of the form bean that is created and given to the action form.


--
Jason Lea


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to