It's not a secret anymore!
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

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 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: 6337

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!