急等救命,论文马上就要交了 <%@ page contentType="text/html; charset=gb2312" %>在前面加一句这个试试看 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 关于中文问题,如果是直接赋值的要用<%@ page contentType="text/html; charset=gb2312" %>如果是传递的参数要用函数实现转换如:public String getStr(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) { //to do nothing } return "null";} 求浏览器的兼容问题?? html转化成excel时,excel分页预览问题。 Spring事物管理问题 有几个问题一起问 请知道的朋友帮帮忙 谢谢 由PHP转到JSP??? 关于时间的javascript判断--请教 关于文件上传的问题,请高手帮忙。在线等待中 请问如何在DreamWeab里面嵌入jsp Java 对文件进行读写的方法如何? 求大神指导下有关tomcat的问题 想在jsp中包括servlet产生的动态内容,应该在jsp中用<jsp:include page="Customer.class"/> resin运行Servlet问题
<%@ page contentType="text/html; charset=gb2312" %>
如果是传递的参数要用函数实现转换如:
public String getStr(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)
{
//to do nothing
}
return "null";
}