isTokenValid()메써드가 false를 반환하는 경우( at API)



  • No session associated with this request
  • No transaction token saved in the session
  • No transaction token included as a request parameter
  • The included transaction token value does not match the transaction token in the user's session
struts의 form태그를 사용하면 자동으로 토큰이 hidden으로 생성이 된다.
JSP페이지에 token이 생성되지 않는 경우 아래와 같은 토큰을 생성을 해준다.


<input type="hidden" name="org.apache.struts.taglib.html.TOKEN" value="<%=session.getAttribute(org.apache.struts.Globals.TRANSACTION_TOKEN_KEY)%>">
Posted by ologist
 TAG ,

블로그 이미지
ologist

공지사항

Yesterday191
Today136
Total34,708

달력

 « |  » 2012.02
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29      

최근에 받은 트랙백

글 보관함