读书人

struts2 token的应用

发布时间: 2013-03-13 10:56:58 作者: rapoo

struts2 token的使用
在struts.xml action里面加上拦截器

<interceptor-ref name="defaultStack"></interceptor-ref> <interceptor-ref name="token"></interceptor-ref><!--结果页面--><result name="invaild.token">/error.jsp</result>

读书人网 >开源软件

热点推荐