js端用:var url=encodeURI();把带有中文字符的url传进去; java端用:java.net.URLDecoder.decode((String)XXX,ENCODE);//前面为参数,后面为编码格式