Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
Articles
Articles_pt
CreateActions_zh
CreateManager
CreateManager_es
SpringControllers_ko
ValidationAndList




JSPWiki v2.2.33

[RSS]


Hide Menu

CreateActions


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.