`

struts2中注解redirect时候参数中文乱码问题解决

 
阅读更多
struts2中注解redirect时候参数中文乱码问题解决,其实很简单,用下面的注解方法;


	@Action(value = "viewdetail", results = {
	
			@Result(name = "noright",params={"encode","true"}, location = "/home/home!showmsg.action?msg=${msg}", type = "redirect"),


  注意用上params={"encode","true"}
1
5
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics