tomcat 不一般的中文乱码问题!!!! 加上,可能是默认的有问题request.setCharacterEncoding("gb2312");试试 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 new String(request.getParameter("yourname").getBytes("ISO8859_1"),"gb2312"); 同意 beyond_xiruo(CSDN腐败团团长) 写了一个method()可以解决你的问题public String chgStr(String str) { try { String temp_p=str; byte[] temp_t=temp_p.getBytes("ISO8859-1"); String temp=new String(temp_t); return temp; } catch(Exception e) { return null; } } 一个tomcat加载多个项目,能配置他们在启动顺序吗? 求Hibernate高手 JavaEE TOMCAT5.0.30,http://localhost:8080/admin为什么是空白页面呀 关于数据库查询问题??????****** struts2定义了一个拦截器结果得不到cookie的值 求解释 FGJH 100分==在JSP中打开word文件的实例 紧急求救:请问在WEB应用中如何调用客户端的应用程序?(高分悬赏!) java jsp ssh 超难问题 ( 2 ) !!!在线等待中。。。。急!!! 奇怪的问题
{
try
{
String temp_p=str;
byte[] temp_t=temp_p.getBytes("ISO8859-1");
String temp=new String(temp_t);
return temp;
}
catch(Exception e)
{
return null;
}
}