본문 바로가기

JSP

jsp html5 templates

window->preferences->Web->JSP Files->Editor->Templates->new

 

Name: New JSP File (html5)

Context: New JSP

Description:JSP with html5 marker

 

 

 

<%@ page language="java" contentType="text/html; charset=${encoding}" pageEncoding="${encoding}"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="${encoding}">
<title>Insert title here</title>
</head>
<body>
${cursor}

</body>
</html>