以MyEclipse8.6为
1. 找到MyEclipse安装路径,用WinRaR打开com.genuitec.eclipse.wizards_xxx.jar文件
\Common\plugins\com.genuitec.eclipse.wizards_8.6.0.me201007140905.jar
2. 找到该jar包下templates\jsp\Jsp.vtl文件,先将该文件拷贝出来,将文件内容修改为如下:
#*---------------------------------------------#
# Template for a JSP
# @version: 1.2
# @author: Ferret Renaud
# @author: Jed Anderson
#---------------------------------------------#
*#<%@ page language="java" contentType="text/html; charset=$encoding"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>$title</title>
</head>
<body>
</body>
</html>
时间: 2024-10-09 23:58:12