Modify JSP template in MyEclipse __jsp

Source: Internet
Author: User
In X:\Program files\myeclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.1.zmyeclipse601200710 \templates\jsp directory to find JSP.VTL, duplicate a copy, renamed to JSP2.VTL, and then change the contents of the inside to their desired format, save.
Then in X:\Program files\myeclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.1. Locate the Templates.xml in the zmyeclipse601200710 directory and open it with a text editor. In
<template
context= "Com.genuitec.eclipse.wizards.jsp"
script= "TEMPLATES/JSP/JSP.VTL"
Name= "Default JSP template"/>
Add below
<template
context= "Com.genuitec.eclipse.wizards.jsp"
script= "TEMPLATES/JSP/JSP2.VTL"
Name= "JSP2 template"/>
Save. Restart Eclipse.
New JSP, in the template will appear JSP2 template, selected, press completed, the new JSP page will be based on your template generated.
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.