Topic: response.sendredirect()中文参数乱码怎样解决? |
Print this page |
1.response.sendredirect()中文参数乱码怎样解决? | Copy to clipboard |
Posted by: fatduck Posted on: 2005-01-03 11:36 response.sendredirect()重定向的URL是不是用iso-8859-1编码?接收页面收到的中文参数始终显示“?”。我的jsp平台是win2k+resin2.1.12。请问怎样解决?谢谢! |
2.Re:response.sendredirect()中文参数乱码怎样解决? [Re: fatduck] | Copy to clipboard |
Posted by: ?笮?闵?讣 Posted on: 2005-01-04 02:42 <%request.setCharacterEncoding("gb2312");%> |
3.Re:response.sendredirect()中文参数乱码怎样解决? [Re: fatduck] | Copy to clipboard |
Posted by: YuLimin Posted on: 2005-01-29 22:28 response.sendredirect(java.net.URLEncoder.encode("URL?参数=值")); 获取时java.net.URLDecoder.decode(.....) |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |