- <action name="register" class="sl.struts.nineteen.TokenTestAction">
- <result name="success">/nineteenToken/regSuccess.jsp</result>
- <result name="s">/nineteenToken/s.jsp</result>
- <result name="input" type="chain">
- <param name="actionName">register</param>
- <param name="method">retest</param>
- </result>
- <result name="invalid.token" type="chain">
- <param name="actionName">testbb</param>
- <param name="method">test3</param>
- </result>
- <interceptor-ref name="token">
- <param name="includeMethods">test</param>
- </interceptor-ref>
- <interceptor-ref name="defaultStack"/>
- </action>
- <action name="testbb" class="sl.struts.nineteen.TokenTestAction">
- <interceptor-ref name="chain" />
- <interceptor-ref name="basicStack" />
- <result name="s">/nineteenToken/s.jsp</result>
- </action>
struts2 token
最新推荐文章于 2024-09-05 10:39:00 发布