>From http://www.husted.com/struts/catalog.html ---------------------- Use the Action Token methods to prevent duplicate submits
There are methods built into the Struts action to generate one-use tokens. A token is placed in the session when a form is populated and also into the HTML form as a hidden property. When the form is returned, the token is validated. If validation fails, then the form has already been submitted, and the user can be apprised. saveToken(request) on the return trip, isTokenValid(request) resetToken(request) ---------------------- On Thu, 20 Jan 2005 22:11:09 +0800, Kalra, Ashwani <[EMAIL PROTECTED]> wrote: > > Hi, > Can someone point me to the struts token usage any sample code/or > documentation link ? > > Regds > Ashwani > > This message contains information that may be privileged or confidential and > is the property of the Capgemini Group. It is intended only for the person to > whom it is addressed. If you are not the intended recipient, you are not > authorized to read, print, retain, copy, disseminate, distribute, or use > this message or any part thereof. If you receive this message in error, > please notify the sender immediately and delete all copies of this message. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]