File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Token Interceptor" Watch "Token Interceptor" New topic
Author

Token Interceptor

Ahmad Khan
Greenhorn

Joined: Mar 27, 2004
Posts: 7
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


OCP, SCJP, SCWCD, MCP
Aryan Khan
Ranch Hand

Joined: Sep 12, 2004
Posts: 290

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


OCP/MCP/SCJP/SCWCD/IBM XML/SCMAD/SCEA-1
debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

Hi Aryan,

try this code
Ahmad Khan
Greenhorn

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