zoukankan      html  css  js  c++  java
  • myeclipse7 定义自己的jsp模版

    在更改前先关闭eclipse。

    在eclipse安装目录找到一下jar文件:

    MyEclipse 7.0 M2\eclipse\plugins\com.genuitec.eclipse.wizards_6.9.200.zmyeclipse69200200809.jar

    使用winrar打开该jar:

     将\templates\jsp\Jsp.vtl 拖动出来使用文本编辑器编辑为自己想要的内容,将 Jsp.vtl命名为自己的名字

    在将 jar根目录的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/ComsysJsp.vtl"
            name="Default JSP template"/> 

    删除,jar根目录下的 templates.xml文件,将编辑好的templates.xml拖动到jar包中,

  • 相关阅读:
    HDU 2602
    ZOJ 1074 最大子矩阵和
    POJ 3903
    最大子段和
    HDU 1052
    CodeForces 18C
    CodeForces 546B-Soldier and Badges
    UVA 11462-Age sort
    Codeforces Round #326 (Div. 2)-Duff in Love
    Codeforces Round #327 (Div. 2)-Wizards' Duel
  • 原文地址:https://www.cnblogs.com/jifeng/p/1857711.html
Copyright © 2011-2022 走看看