在spring-config/applicationContext-mapping.xml中
我有一个代码片段:
<bean id="unused-url-quick" class="java.util.HashMap">
<constructor-arg>
<map>
<entry key="/page.html" value="/otherpage.html"/>
...
</map>我可以添加一个条目键,以便从一个页面重定向到另一个页面。
使用同样的方法,如何将querystring参数传递给otherpage.html.
<bean id="unused-url-quick" class="java.util.HashMap">
<constructor-arg>
<map>
<entry key="/page.html?qs=1" value="/otherpage.html?qs=1"/>
...
</map>..where查询字符串key=value对不同吗?
发布于 2009-10-27 18:28:26
这不是在Spring级别上完成的。
https://stackoverflow.com/questions/1627892
复制相似问题