wood burning stoves
The moose likes Struts and the fly likes Token Interceptor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Token Interceptor" Watch "Token Interceptor" New topic

Token Interceptor

Ahmad Khan

Joined: Mar 27, 2004
Posts: 7

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?


Aryan Khan
Ranch Hand

Joined: Sep 12, 2004
Posts: 290

Any one please....any suggestions, links....thanks

debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

Hi Aryan,

try this code
Ahmad Khan

Joined: Mar 27, 2004
Posts: 7
Thanks Debraj....Still the same result....

What is missing?
I agree. Here's the link: http://aspose.com/file-tools
subject: Token Interceptor
It's not a secret anymore!