取值的时候要转换
public static String getStr(String str) { try {
if(str==null || str.trim().equals(""))
{
return "";
}
String temp_p = str;
byte[] temp_t = temp_p.getBytes("ISO8859-1");
String temp = new String(temp_t);
return temp;
}
catch (Exception e) {
}
return "";
}
public static String getStr(String str) { try {
if(str==null || str.trim().equals(""))
{
return "";
}
String temp_p = str;
byte[] temp_t = temp_p.getBytes("ISO8859-1");
String temp = new String(temp_t);
return temp;
}
catch (Exception e) {
}
return "";
}
否则怎么在form中得到”好“