WARNING: This file is deprecated, and remains only as an example
of how the Struts configuration file would have been set up using
the conventions of Struts 0.5. All new development should be based
on Struts 1.0 standards, and you should be configuring the file
"struts-config.xml" instead.也就是说action.xml过时了!
of how the Struts configuration file would have been set up using
the conventions of Struts 0.5. All new development should be based
on Struts 1.0 standards, and you should be configuring the file
"struts-config.xml" instead.也就是说action.xml过时了!
type="strutsdemo2.EditRegistrationAction"
name="registrationForm"
scope="request"
validate="false">>
<forward name="success" path="/forwardSuccess.jsp"/>
</action>你的Form配错了
<form-bean>
name="registrationForm"
path="包名.form名"
</form-bean>
<form-beans>
<form-bean name="registrationForm" type="strutsdemo2.RegistrationForm" />
</form-beans> <action-mappings>
<action attribute="registrationForm" type="strutsdemo2.EditRegistrationAction" validate="false" scope="request" path="/editRegistration">
<forward name="success" path="/forwardSuccess.jsp" />
</action>
</action-mappings>
</struts-config>类文件都是包strutsdemo2下,请高手指点,打开连接后还是空白一片。