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 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
Author

Problem with Tokens

Sana Jay
Greenhorn

Joined: Feb 03, 2004
Posts: 26
hello,
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

Sana
Marc Peabody
pie sneak
Sheriff

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