Topic: JSP编码,乱码??

  Print this page

1.JSP编码,乱码?? Copy to clipboard
Posted by: fly21
Posted on: 2003-01-09 22:35

由form表但递交的中文字符串传递到JSP页面显示的全是乱码,该如何解决。我是jsp初学者,望大虾指点。

2.Re:JSP编码,乱码?? [Re: fly21] Copy to clipboard
Posted by: rainman
Posted on: 2003-01-09 22:46

request.setCharacterEncoding("GBK")

3.Re:JSP编码,乱码?? [Re: fly21] Copy to clipboard
Posted by: mukokawa
Posted on: 2003-01-16 21:49

可以用session来传递,这样就不会出现乱码了


   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