springmvc中处理页面传递的乱码
@RequestMapping("/search") public String searchItemList(String keyword, @RequestParam(defaultValue="1") Integer page, Model model) throws Exception { keyword = new String(keyword.getBytes("iso-8859-1"), "utf-8");
@RequestMapping("/search") public String searchItemList(String keyword, @RequestParam(defaultValue="1") Integer page, Model model) throws Exception { keyword = new String(keyword.getBytes("iso-8859-1"), "utf-8");