In the <% myeclipse installation directory %>/myeclipse/Eclipse/plugins/COM. genuitec. eclipse. find JSP in the wizards_6.0.1.zmyeclipse60316710/templates/jsp directory. copy the VTL file and rename it as jsp2.vtl. Then, change the content to the desired format and save it.
Find templates. xml in the <% myeclipse installation directory %>/myeclipse/Eclipse/plugins/COM. genuitec. Eclipse. wizards_6.0.1.zmyeclipse60%710 directory and open it in a text editor. In
<Template
Context = "com. genuitec. Eclipse. Wizards. jsp"
Script = "templates/JSP. VTL"
Name = "Default JSP template"/>
Add
<Template
Context = "com. genuitec. Eclipse. Wizards. jsp"
Script = "templates/JSP/jsp2.vtl"
Name = "jsp2 template"/>
Save. Restart eclipse.
Create a new JSP. A jsp2 template is displayed in the template. Select and press finish. The newly created JSP page is generated according to your template!
Note: wizards_6.0.1.zmyeclipse601_710 in COM. genuitec. Eclipse. wizards_6.0.1.zmyeclipse601_710 may vary depending on the version, for example, Com. genuitec. Eclipse. Example.