Hello,
I'm using token to avoid multiple submits in this flow :
"/commande.do" creates an empty form-bean, saves a token and forwards to
"tile:commande.new"
"/commande/create.do" checks for token and creates datas in the database.
If an exception occurs, an exceptionHandler is used to display an error
message. I'm using it to catch Data integrity exception when user try to
create an allready-existing entry. In this case, no token is saved
anymore and user cannot change it's input and resubmit.
How can I setup struts to have a new token beeing saved when an
exception occurs, to allow the user to correct the form and submit ?
Nico.
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]