Differences between revisions 4 and 5
Revision 4 as of 2007-02-21 00:53:50
Size: 1147
Comment:
Revision 5 as of 2009-09-20 23:11:46
Size: 1197
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
inline:employee_list.gif {{attachment:employee_list.gif}}
Line 7: Line 7:
inline:employee_list_view.gif
inline:employee_view.gif
{{attachment:employee_list_view.gif}}
{{attachment:employee_view.gif}}
Line 12: Line 12:
inline:employee_list_crud.gif
inline:employee_edit.gif
{{attachment:employee_list_crud.gif}}
{{attachment:employee_edit.gif}}
Line 15: Line 15:
 * [:StrutsQuickStartJSP:A simple employee list (pure JSP)]
 * [:StrutsQuickStartServletJSP:Converting employee list page to a Model 2 app (servlet + JSP)]
 * [:StrutsQuickStart1:Converting Model 2 app into Struts app]
 * [:StrutsQuickStart2:Handling user events in Action class]
 * [:StrutsQuickStart3:Action interaction, form beans, submitting HTML forms]
 * [:StrutsQuickStart4:Error messages, redisplaying HTML form with errors, full-blown CRUD]
 * [[StrutsQuickStartJSP|A simple employee list (pure JSP)]]
 * [[StrutsQuickStartServletJSP|Converting employee list page to a Model 2 app (servlet + JSP)]]
 * [[StrutsQuickStart1|Converting Model 2 app into Struts app]]
 * [[StrutsQuickStart2|Handling user events in Action class]]
 * [[StrutsQuickStart3|Action interaction, form beans, submitting HTML forms]]
 * [[StrutsQuickStart4|Error messages, redisplaying HTML form with errors, full-blown CRUD]]
Line 22: Line 22:
Download the sample WAR file with the source code: attachment:crud.war. Download the sample WAR file with the source code: [[attachment:crud.war]].

This is a fast track Struts guide for JSP developers. It starts with a simple employee list of an imaginary company, implemented with pure JSP (Model 1), servlet + JSP (Model 2) and with Struts + JSP (which is also Model 2).

employee_list.gif

After familiarity with Struts is established, this guide delves into event handling, action interaction and form submission.

employee_list_view.gif employee_view.gif

and ulitimately finishes with complete Struts-based CRUD (Create, Retrieve, Update, Delete) application.

employee_list_crud.gif employee_edit.gif

Download the sample WAR file with the source code: crud.war.

StrutsQuickStart (last edited 2009-09-20 23:11:46 by localhost)