What's meaning of the taken int TokenProcessor Class
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   bair_Thomas
Posted On:   Friday, February 27, 2004 01:43 AM

I don't know the describ of the Javadoc :"TokenProcessor is responsible for handling all token related functionality. The methods in this class are synchronized to protect token processing from multiple threads. Servlet containers are allowed to return a different HttpSession object for two threads accessing the same session so it is not possible to synchronize on the session."

I want to know the meaning of the "taken" in org.apache.struts.util.TokenProcessor,and the useful of the Class.

thanks alot!
best regards!

Re: What's meaning of the taken int TokenProcessor Class

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, February 27, 2004 06:21 AM

...I want to know the meaning of the "taken" ...


If you mean "token" (though you wrote "taken", twice?), you should read about it in the documentation -- it is something you can easily use in your JSP and your Action, to prevent multiple submissions of the same information, e.g. when the user clicks twice on a "submit" button, accidentally refreshes a form page, etc.

About | Sitemap | Contact