aspose file tools*
The moose likes Servlets and the fly likes more than one click on a button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

more than one click on a button

Jan Groth
Ranch Hand

Joined: Feb 03, 2004
Posts: 456

How we can handle the following suitation
If a user clicks on a button more than once but we need to handle it onece.


@ben - i guess this topic was moved too fast.

"use javascript to disable" is probably not the best of all solutions, as the user might have deactivated javascript of might use a media which has no javascript support.

one more sophisticating technique would be to create a unique id, submit it as a hidden field and ensure that each id is processed only once (or never ;-))

jan
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61437
    
  67

Please post replies in the original topic. Since this has been moved to the HTML forum, you should post there.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: more than one click on a button