Raible's Wiki
Raible Designs AppFuseHomepage- Korean - Chinese - Italian - Japanese QuickStart Guide User Guide Tutorials Other ApplicationsStruts ResumeSecurity Example Struts Menu
Set your name in
UserPreferences
Referenced by
JSPWiki v2.2.33
Hide Menu |
This is version 3.
It is not the current version, and thus it cannot be edited. Part III: Creating Actions and JSPs - A HowTo for creating Struts Actions and JSPs in the AppFuse architecture. About this TutorialThis tutorial will show you how to create an Action, a JUnit Test (using StrutsTestCase) , and a JSP for the form. The Action we create will talk to the PersonManager we created in the Creating Managers tutorial. This tutorial will simplify everything - we will not actually be rendering any data making the UI look pretty. The next tutorial will show you how to integrate your new JSP into your webapp.
Let's get started by creating a new Action and JSP in AppFuse's architecture. Table of Contents
Here's a quick-n-dirty how to. We're creating a new Action/JSP for the "Position" entity in this example:
Next up - integrating positionForm.jsp with Tiles, putting some meat into the Action's execute method, creating an ActionTest, replacing execute with different CRUD methods (add, edit, search), customizing the JSP so it looks good and finally - write a WebTest to test the JSPs functionality (or doing it via the browser). Attachments:
|