

blog.visualp.com
post 방식을 통해서 넘오온 인자값을 처리 하기 위해서
될 수 있으면 인코딩을 해주는 것이 좋다. 그래야 한글 깨짐 현상이 나타나지 않음
request.setCharacteEncoding("euc-kr");
<-- 요청한 파라미터의 캐릭터 인코딩을 한글(euc-kr)로 지정 한다. 이렇게 해야 한글을 올바르게 처리할 수 있다. -->
post 방식을 통해서 넘오온 인자값을 처리 하기 위해서
될 수 있으면 인코딩을 해주는 것이 좋다. 그래야 한글 깨짐 현상이 나타나지 않음
request.setCharacteEncoding("euc-kr");
<-- 요청한 파라미터의 캐릭터 인코딩을 한글(euc-kr)로 지정 한다. 이렇게 해야 한글을 올바르게 처리할 수 있다. -->
파라메터값 인코딩
<%@ page import="java.net.URLEncoder"%>
<%
String value="admin";
String encoderValue=URLEncoder.encode(value);
response.sendRedirect("http://visualp.com/blog/?mb_id="+encoderValue);
%>
![]() |
AJAX stands for Asynchronous JavaScript And XML. AJAX is a type of programming made popular in 2005 by Google (with Google Suggest). AJAX is not a new programming language, but a new way to use existing standards. With AJAX you can create better, faster, and more user-friendly web applications. AJAX is based on JavaScript and HTTP requests. Start learning AJAX now! |