검색결과 리스트
글
Jsp 페이지에서 내부적으로 리다이렉트 하는 경우가 발생하면
URL 인코딩을 해서 글자가 깨지는 경우가 발생하는데 그럴때 인코딩을 하면된다.
클래스
java.net.URLEncoder
Method Summary | |
---|---|
static String |
encode(String s) Deprecated. The resulting string may vary depending on the platform's default encoding. Instead, use the encode(String,String) method to specify the encoding. |
static String |
encode(String s, String enc) Translates a string into application/x-www-form-urlencoded format using a specific encoding scheme. |
'Java > Jsp' 카테고리의 다른 글
[Jsp] Java Custom Tag (0) | 2012.02.09 |
---|---|
[Jsp] JSTL <c:forEach></c:forEach> 반복처리 (0) | 2011.11.07 |
[JSP] 물리적 경로를 웹상의 상대 경로로 변환 (0) | 2011.08.23 |
[JSP] <jsp:include>와 <%@ page include %>의 차이 (0) | 2011.04.25 |
[JSP] Procedure Call (0) | 2011.03.17 |
RECENT COMMENT