jsp->action:
//转码
toCity = new String(getRequest().getParameter("toCity").getBytes("ISO-8859-1"),"UTF-8");
action->jsp
//是汉字,刚编码成非汉字
toCity = URLEncoder.encode(toCity, "utf-8");
jsp->action:
//转码
toCity = new String(getRequest().getParameter("toCity").getBytes("ISO-8859-1"),"UTF-8");
action->jsp
//是汉字,刚编码成非汉字
toCity = URLEncoder.encode(toCity, "utf-8");