jsp传递url中文参数乱码 要用两次encode。js中是encodeURI,java中是java.net.URLEncode.encode(string,encode);decode只用一个就行了。java.net.URLDecode.decode(string,encode);