<a href="
<s:url action="editPublication-%{id}">
<s:param name="queryParam.name" value="%{queryParam.name}" />
<s:param name="queryParam.publicationType" value="%{queryParam.publicationType}" />
<s:param name="pageBean.currentPage" value="%{pageBean.currentPage}" />
</s:url>"
>修改</a>
以上传参时候,如果有中文,可能会出现乱码
解决方法如下:server.xml中,设置Tomcat的URIEncoding
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" URIEncoding="UTF-8" />