jsp页面传输到xxAction.java乱码解决:
jsp:encodeURI(encodeURI("xx"))
java:if(!StringUtils.isBlank(belongdistrict)){
try {
belongdistrict = URLDecoder.decode(belongdistrict,"UTF-8");
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
}
转载于:https://www.cnblogs.com/runerering/p/5973136.html