request.getParameter()亂碼解決

java取值:
Stirng name=request.getParameter("tkeyname");
name=URLDecoder.decode(name,"utf-8");
或者name=new String(name.getBytes("ISO-8859-1"),"UTF-8");java

jsp請求參數:
"&tkeyname="+encodeURI(encodeURI(tkeyname));jsp

相關文章
相關標籤/搜索