CreateActions |
|
Your trail: |
Difference between
version 25
and
version 24:
At line 30 changed 1 line. |
In this step, we'll generate a ''skeleton'' or our JSP for displaying information from the PersonForm. I say ''skeleton'' because it'll just be the <form> itself. It will contain table rows and Struts' <html:text> tags for each property in PersonForm.java. The tool that we use to do this was written by [Erik Hatcher|http://www.blogscene.org/erik/]. It's basically just a single class (FormTagsHandler.java) and a couple of XDoclet templates (FormKeys.xdt and StrutsForm_jsp.xdt). All these files are located in extras/strutsgen. |
In this step, we'll generate a ''skeleton'' or our JSP for displaying information from the PersonForm. I say ''skeleton'' because it'll just be the <form> itself. It will contain table rows and Struts' <html:text> tags for each property in PersonForm.java. The tool that we use to do this was written by [Erik Hatcher|http://www.blogscene.org/erik/]. It's basically just a single class (FormTagsHandler.java) and a couple of XDoclet templates (FormKeys.xdt and StrutsForm_jsp.xdt). All these files are located in extras/jspgen. |
At line 35 changed 2 lines. |
* From the command-line, navigate to "extras/strutsgen" |
* Execute __ant -Dform.name=PersonForm__ to generate two files in extras/strutsgen/build: |
* From the command-line, navigate to "extras/jspgen" |
* Execute __ant -Dform.name=PersonForm__ to generate two files in extras/jspgen/build: |
Back to CreateActions,
or to the Page History.
|