myeclipse设置模板
来源:互联网 发布:lep s world 2 mac 编辑:程序博客网 时间:2024/06/03 16:38
用的是MyEclipse9.0
步骤如下:
1:myeclipse9安装目录\Common\plugins\com.genuitec.eclipse.j2eedt.core_9.0.0.me201103181703\templates\velocity\welcome路径下找到Jsp.vtl,复制一份,重命名为struts2.vtl,然后把里面的内容修改为自己想要的格式,保存。然后把该文件复制放到 myeclipse9安装目录\Common\plugins\com.genuitec.eclipse.wizards_9.0.0.me201103012021.jar里的templates\jsp文件夹下面即可。
2:找到 myeclipse9安装目录\Common\plugins\com.genuitec.eclipse.wizards_9.0.0.me201103012021.jar
把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/struts2.vtl"
name="Struts2 template"/>
3:重新启动myeclipse 新建jsp,在模板中就会出现Struts2 template,选中,按完成,新建的jsp页面就按你的模板生成!
注意:MyEclipse8.6路径是:安装目录\Common\plugins\com.genuitec.eclipse.j2eedt.core_8.6.0.me201007292038\templates\velocity\welcome
步骤如下:
1:myeclipse9安装目录\Common\plugins\com.genuitec.eclipse.j2eedt.core_9.0.0.me201103181703\templates\velocity\welcome路径下找到Jsp.vtl,复制一份,重命名为struts2.vtl,然后把里面的内容修改为自己想要的格式,保存。然后把该文件复制放到 myeclipse9安装目录\Common\plugins\com.genuitec.eclipse.wizards_9.0.0.me201103012021.jar里的templates\jsp文件夹下面即可。
2:找到 myeclipse9安装目录\Common\plugins\com.genuitec.eclipse.wizards_9.0.0.me201103012021.jar
把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/struts2.vtl"
name="Struts2 template"/>
3:重新启动myeclipse 新建jsp,在模板中就会出现Struts2 template,选中,按完成,新建的jsp页面就按你的模板生成!
注意:MyEclipse8.6路径是:安装目录\Common\plugins\com.genuitec.eclipse.j2eedt.core_8.6.0.me201007292038\templates\velocity\welcome
模板位置:安装目录\Common\plugins\com.genuitec.eclipse.wizards_8.6.0.me201007140905.jar
http://kingww.iteye.com/blog/1164536
http://iscode.iteye.com/blog/628548
- myeclipse设置jsp模板
- MyEclipse设置注释模板
- myeclipse设置模板
- MyEclipse注释模板设置
- MyEclipse设置注释模板
- MyEclipse注释模板设置
- MyEclipse注释模板设置
- Myeclipse设置注释模板
- Myeclipse设置注释模板
- myeclipse 【代码模板】设置
- MyEclipse注释模板设置
- MyEclipse 注释模板设置
- MyEclipse注释模板设置
- 【MyEclipse】——MyEclipse设置注释模板
- myeclipse的代码模板设置
- myeclipse的代码模板设置
- myeclipse设置注释的模板
- MyEclipse 8.5 注释模板设置
- 基于ACIS/HOOPS的3D应用开发简介
- 优化MYSQL数据库的方法
- mongodb组合索引优化
- 堆排序
- 实现中文字串截取无乱码的方法
- myeclipse设置模板
- 操作系统大型实验进展(14)-----strtok函数在C和C++语言中的使用
- Parallelization of the x264 encoder using OpenCL
- ACIS系统体系
- hdu 1339
- Java面试题(一)
- 库的三种加载方法 显示加载 隐示加载 延迟加载
- const 函数参数
- android进程创建分析