aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes how to handle multiple request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "how to handle multiple request" Watch "how to handle multiple request" New topic
Author

how to handle multiple request

vishwa raj
Ranch Hand

Joined: Aug 23, 2007
Posts: 40
Hi,

I have a doubt, There is a link to submit the request say now we want to avoid the duplicate request submitted means to say that the user clicks multiple times at a time but only one request should be inserted in to table how can i achive this.

one way is to disable the link, once the user clicks on the linkf for the first time but this is not allowed in the requirement rather the link should be active but even if multiple requestes are given by same user by clickig on the link at a time many times onely one requesy should be inserted in table.

Thanks
vishwa raj
Ranch Hand

Joined: Aug 23, 2007
Posts: 40
Hi,

Can any please throw some light on this

Thanks
Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 950
Hi,

There are many ways to avoid duplicate submission. You can do this by using hidden fields, disabling cache,etc.

The best approach is the Token synchronization. Please search details on net about it.

Thanks


Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to handle multiple request