首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

struts2 平添 防止重复提交 token

2013-07-16 
struts2添加 防止重复提交token?????? exception-mapping resulterror exceptionjava.lang.Exceptio

struts2 添加 防止重复提交 token

?

????? <exception-mapping result="error" exception="java.lang.Exception"/>

?

?

??????????? <interceptor-ref name="defaultStack"/>

??????????? <interceptor-ref name="tokenSession"/>

?????????? <!--如果重复提交、不会跳转到error.jsp-->

??????????? <result name="invalid.token">error.jsp</result>

?????????? <result? name="success">添加成功跳转页.jsp</result>

?

</action>

热点排行