<%@page import="java.net.*" %>
//第一个参数是内容,第二个参数是编码格式String username = URLEncoder.encode("张三", "utf-8");
//第一个参数是内容,第二个参数是编码格式
String username = URLEncoder.encode("张三", "utf-8");
String a=URLDecoder.decode("张三","utf-8");