티스토리 뷰
server.xml 설정
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" URIEncoding="UTF-8" />
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8" />
URIEncoding="UTF-8" 을 넣는다.
web.xml 설정
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>filter.EncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>encodingFilter</filter-name>
<url-pattern>*</url-pattern>
</filter-mapping>
jsp파일 설정
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
첫줄에 넣는다.
'웹개발자 > 웹서버' 카테고리의 다른 글
http method 제한 (trace) (2) | 2019.01.14 |
---|---|
tomcat 사진파일 업로드 경로 설정 (0) | 2017.11.03 |
윈도우에서 php와 MariaDB 연동 (0) | 2016.04.12 |
윈도우에서 nginx php 연동 (1) | 2016.04.12 |
윈도우에 nginx 설치 (2) | 2016.04.12 |
- Total
- Today
- Yesterday
- 설정
- 전자정부프레임워크
- 로블록스
- 메소드 제한
- 단축키
- eGovFramework
- 구글 플레이 게임즈
- download
- autohotkey
- mariaDB
- 배드워즈
- 호이안
- 다운로드
- Spring Boot
- 설치
- 라즈베리파이
- 오토핫키
- Spring
- 시즌3
- 베트남
- mysql
- java
- 달빛조각사
- 블루스택
- 윈도우
- tomcat
- 수원
- 시즌패스
- lineage2m
- nginx
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |