當前位置:
首頁 >
前端技术
> javascript
>内容正文
javascript
JSP模版
?jsp模板?在X:\Program Files\MyEclipse6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.1.zmyeclipse601200710\templates\jsp? 目錄下找到Jsp.vtl,復制一份,重命名為jsp2.vtl,然后把里面的內容修改為自己想要的格式,保存。?
然后在 X:\Program Files\MyEclipse?6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.1.zmyeclipse601200710 目錄下找到templates.xml,用文本編輯器打開。在?
??? <template?
??????? context="com.genuitec.eclipse.wizards.jsp"?
??????? script="templates/jsp/Jsp.vtl"?
??????? name="Default JSP template"/>?
下面增加?
??? <template?
??????? context="com.genuitec.eclipse.wizards.jsp"?
??????? script="templates/jsp/jsp2.vtl"?
??????? name="JSP2 template"/>?
保存。重啟eclipse。?
轉載于:https://www.cnblogs.com/qq809306794/p/3180847.html
總結
- 上一篇: 简明Vim练级攻略(转)
- 下一篇: 微软自家的.Net下的JavaScrip