日期:2014-05-19  浏览次数:20735 次

struts2中获取地址的参数
XML code
<result name="error" type="redirectAction" >/gallery/beforeUploadPhoto.action?gallery.galleryId=${galleryId}&amp;error=${error}</result> 


怎么在页面中获取error=${error}的值。


------解决方案--------------------
<s:property value="#parameters.error"/>