Olivier,
Here's the article that Jacob is talking about (I think):
http://www.javaworld.com/javaworld/javatips/jw-javatip136.html
I'm using this approach and am very pleased.
Colin
Hookom, Jacob wrote:
Look up request tokens in the documentation/API.
There was also an article on www.javaworld.com a while back that you can
search for.
-----Original Message-----
From: Olivier Citeau [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 22, 2004 4:10 PM
To: [EMAIL PROTECTED]
Subject: Preventing user from validating a form twice
Hi,
i think it must be a FAQ, but i did not found anything on
this issue.
When my user submits a form, the action executes an SQL
Insert in the DBMS.
What happened is that when user click twice, the second
inserts fails with SQLException.
What is strange, is that i cannot reproduce it in WSAD, but
it happens on a full Websphere.
Is there a way i can know that a user already submitted a
form ?
=====
Olivier Citeau
Paris, France
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez
Yahoo! Messenger sur http://fr.messenger.yahoo.com
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]