Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Token Interceptor

 
Ahmad Khan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have checked all the answers to this question on this forum but none resolve my issue.

I need to stop the user from resubmitting the form. So naturally turned to Token interceptor

I get the below warning and the page is redirected to global results for invalid.token:



Here is my struts.xml config:




My JSP page snippest ( I have tried with out name attribute, using token, struts.token etc as name value but same issue).




Any hints on what is missing?

Thanks

 
Aryan Khan
Ranch Hand
Posts: 290
Java Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any one please....any suggestions, links....thanks
 
debraj mallick
Ranch Hand
Posts: 188
Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Aryan,

try this code
 
Ahmad Khan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Debraj....Still the same result....




What is missing?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic