When creating a JSP, I found that many JSP templates are not what I want, slowing down the development efficiency. If I can customize a JSP page, it would be easy to do.
Let's talk about my ide. My IDE is eclipse3.4.2.
Go to the topic, go to the main directory of eclipse, and search for com. genuitec. eclipse. wizards _ *, only one jar is found. Copy the jar to another directory, use RAR to open the jar, and enter the directory of templates/JSP. Are you familiar with it?
The directory file name is as follows:
-Jspmetatags. VTL
Jsp-html.vtl
-JSP. VTL
Struts-1_2.vtl
Struts-1.1.vtl
-JSF. VTL
Struts-1_2-form.vtl
Struts-1.1-form.vtl
When we create a new JSP, we create a default JSP. the VTL will be ready. After the modification is complete, it will be thrown in. As for what high technology you want to do, you can also.
You can customize a JSP by yourself. change the VTL name, modify the content, and put it in the JSP. VTL is the same directory, so that you can see your custom JSP options when creating a new JSP.