wood burning stoves
The moose likes Struts and the fly likes Problem with Tokens Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem with Tokens" Watch "Problem with Tokens" New topic

Problem with Tokens

Sana Jay

Joined: Feb 03, 2004
Posts: 26
I am instantiating the tokens in my Reg.jsp using TokenProcessor class.
I am invalidating the token(set to false) once the registration values are in database.
when i go bak to the reg page using the browser's 'back' button after inserting the values..the tokens are false.
But if i refresh the page,then,since i am instantiating the token in my Reg.jsp a new instance of the token is getting instantiated .

How to go abt this...How to use tokens when tokens are instantiated in the jsp pages..

Can anyone Plz guide me in this,
Thanks in advance

Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

What do you want it to do?

A good workman is known by his tools.
I agree. Here's the link: http://aspose.com/file-tools
subject: Problem with Tokens
It's not a secret anymore!