본문 바로가기

JAVA/JSP & Servlet

이클립스 html5 템플릿 삽입하기

1. 이클립스 실행

 

 

2. window -> Preference

 

 

3. Web -> JSP File -> Editor -> Templates

 

 

 

 

4. New 클릭!

 

 

 

 

 

 

<%@ page language="java" contentType="text/html; charset=${encoding}"

    pageEncoding="${encoding}"%>

 

<!DOCTYPE html>

<html>

<head>

<meta charset="${encoding}">

<title>JSP</title>

</head>

<body>

${cursor}

 

</body>

</html>