CreateActions |
|
Your trail: |
Difference between
version 14
and
version 13:
At line 47 changed 1 line. |
At this point, you won't be able to view this JSP in your browser because the <html:form> tag in personForm.jsp has ''action=""'' which is not allowed. You can try it yourself by setting up AppFuse on Tomcat using __ant setup-db setup-tomcat deploy__. |
At this point, you won't be able to view this JSP in your browser because the <html:form> tag in personForm.jsp has ''action="savePerson"'' - and this action-mapping doesn't exist (yet) in struts-config.xml. You can try it yourself (cd ../.. first) by setting up AppFuse on Tomcat using __ant setup-db setup-tomcat deploy__. |
At line 51 changed 1 line. |
javax.servlet.jsp.JspException: Cannot retrieve mapping for action / |
javax.servlet.jsp.JspException: Cannot retrieve mapping for action /savePerson |
At line 60 changed 1 line. |
If you did copy UserActionTest, make sure and change ''UserFormEx'' to ''PersonForm''. The reason for ''UserFormEx'' is to extend the UserForm and put custom web-only properties or methods into our form. Since the UserForm is generated, it's not very feasibly to do it in the User.java object. |
If you did copy UserActionTest, make sure and change ''UserFormEx'' to ''PersonForm''. The reason for ''UserFormEx'' is to support indexed properties and non-struts validation. Since the UserForm is generated, it's not very feasibly to do it in the User.java object. |
Back to CreateActions,
or to the Page History.
|