日期:2014-05-16 浏览次数:20465 次
jsp->action:
//转码 toCity = new String(getRequest().getParameter("toCity").getBytes("ISO-8859-1"),"UTF-8");
?action->jsp
//是汉字,刚编码成非汉字 toCity = URLEncoder.encode(toCity, "utf-8");