개발관련기록/Eclipse
[Eclipse]이클립스에서 새파일 jsp 에서 기본html5 와 문자셋 utf-8로 설정방법
267
2014. 6. 13. 15:41
반응형
이클립스에서 새파일 jsp 에서 기본html5 와 문자셋 utf-8로 설정방법
1. jsp 템를릿 에 아래와 같이 신규 값 저장
<%@ page language="java" contentType="text/html; charset=${encoding}" pageEncoding="${encoding}"%>
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="${encoding}">
<title>Insert title here</title>
</head>
<body>
${cursor}
</body>
</html>
2. 기본생성되는 JSP 파일 UTF-8로 기본세팅처리
반응형