请问配置JRun时,怎么设置让开发过程中jsp,servlet显示中文?
---------------------------------------------------------------
将下列代码放到jsp文件中:将能正确显示中文了
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)
{
}
return "null";
}
---------------------------------------------------------------
1!
2public String getStr(String str)
3{
4try
5{
6String temp_p=str;
7byte[] temp_t=temp_p.getBytes("ISO8859-1");
8String temp=new String(temp_t);
9return temp;
10}
11catch(Exception e)
12{
13}
14return "null";
15}
16
17``` [email protected] 我们一起进步! qq:43621234