<%@page import="java.net.URLEncoder,java.net.URLDecoder" %>
<%
String str2=URLEncoder.encode("中文测试","UTF-8");
request.setCharacterEncoding("utf-8"); //must setCharacterEncoding
String str=null;
if(request.getParameter("para")!=null)
{
str=request.getParameter("para");
查看更多...
Tags: urlurl