get invalid.token result at the first time run action.
Posted
by Tr.Crab
on Stack Overflow
See other posts from Stack Overflow
or by Tr.Crab
Published on 2010-03-13T09:50:11Z
Indexed on
2010/03/13
9:55 UTC
Read the original article
Hit count: 208
I use struts 2.1.8, I use <s:token>
between <s:form> and </s:form>
in my struts.xml like that
............
<package name="user" namespace="/user" extends="struts-default">
<action name="login"class="user.UserAction">
<result type="tiles">login.view</result>
<interceptor-ref name="token"/>
<interceptor-ref name="basicStack"/>
<result name="invalid.token">/pages/error.jsp</result>
</action>
</package>
...............
at the first time, I run login.do action, I alway get error page. Plz give to me some suggestions thank in advance.
© Stack Overflow or respective owner