Modify JSP template in myeclipse

Source: Internet
Author: User

Go to X: \ Program Files \ myeclipse 6.0 \ myeclipse \ eclipse \ plugins \ com. genuitec. Eclipse. wizards_6.0.1.zmyeclipse601_710 \ Templates \ JSP
Find JSP. VTL in the directory, copy it, rename it as jsp2.vtl, modify the content to the desired format, and save it.
Then go to X: \ Program Files \ myeclipse 6.0 \ myeclipse \ eclipse \ plugins \ com. genuitec. Eclipse. wizards_6.0.1.zmyeclipse601_710
Find templates. XML in the 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!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.