struts2 附件下载 解决中文传参时乱码的param 标签运用例子
<s:iterator id="at" value="#request.attachmentList"
?????????status="item">
?????????<a href=" <s:url action='download.action'>
?????????? ?????? ?<s:param name='fileName' value='#at.realName'></s:param>
?????????? ?????? ?<s:param name='storeName' value='#at.storeName'></s:param>
?????????? ?????? </s:url>">${realName
??????????}</a> <br />
??</s:iterator>
?
解释:通过param传参可解决后台参数乱码问题
?
? 或者写过滤器对get()取参进行参数中文处理