struts2中注解redirect时传递参数中文乱码有关问题解决办法

struts2中注解redirect时传递参数中文乱码问题解决方法

struts2中注解redirect时传递参数中文乱码问题解决方法


试过了很多方法  tomcat 编码  、字符串转换编码 、URLEncoder  .. 但是都没解决,后来仔细看了   struts2 的redirect ,redirectAction , 

  加上 params={"encode","true"} 就不会有乱码了       

	@Action(value = "/backend/deleteApplyInfoOfAuditById", results = { @Result(name = "success",params={"encode","true"}, location = "/backend/auditAction.action?currentPage=${page}&totalPages=${tpages}&applyCondition.rzType=${applyCondition.rzType}&applyCondition.area=${applyCondition.area}&applyCondition.applyName=${applyCondition.applyName}",type="redirect") })