The moose likes Struts and the fly likes Problem with Tokens Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Struts
Reply 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: 4695

What do you want it to do?


A good workman is known by his tools.
 
IntelliJ Java IDE
 
subject: Problem with Tokens
 
Threads others viewed
Tokenising using String.split().
form resubmission
Stacks
StringTokenizer
Why mkdir() was designed not to throw an IOException?
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture