File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes token problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "token problem" Watch "token problem" New topic

token problem

hamlin stephen
Ranch Hand

Joined: Dec 11, 2003
Posts: 45
hi please help me urgent

I need to set token from my jsp to avoid multiple submit.
i got it when i used saveToken in action class early case.
but now the jsp is coming before any action class is executing]
please help if any suggestion from u...
Junilu Lacar

Joined: Feb 26, 2001
Posts: 6529

You need to change your page flow to always go through the action first. That is, instead of linking to MyPage.jsp directly, link to

Junilu - [How to Ask Questions] [How to Answer Questions]
I agree. Here's the link:
subject: token problem
It's not a secret anymore!