struts2 <sx:autocompleter>汉语言乱码解决

struts2 sx:autocompleter中文乱码解决struts2 sx:autocompleter中文乱码解决?由于sx:autocompleter

struts2 <sx:autocompleter>中文乱码解决

struts2 <sx:autocompleter>中文乱码解决

?

由于<sx:autocompleter>是get提交方法 我们只需要将提交的参数改下编码就可以了

?

name = new String(parentName.getBytes("ISO-8859-1"), "utf-8");

?

?

?

?

?

?