修正之后我是这样写的:
var url = "b.jsp?name=" + escape(u_name);
服务端获取:
String name=request.getParameter("u_name");
name = java.net.URLDecoder.decode(name,"UTF-8");
System.out.println(name);
顺利解决
修正之后我是这样写的:
var url = "b.jsp?name=" + escape(u_name);
服务端获取:
String name=request.getParameter("u_name");
name = java.net.URLDecoder.decode(name,"UTF-8");
System.out.println(name);
顺利解决