struts2 平添 防止重复提交 token

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>