Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how handle when client send multiple request at atime for
multiple servlets servlets?

Answer Posted / shinde

use a session and a token, and pass the parameter using a hidden method.when the first request reaches the server store the token in a global variable.If a duplicate request comes, validate using the token form the global variable and discard the duplicate one.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of @after?

1016


What is the use of execAndWait interceptor?

1015


What is the purpose of @typeconversion annotation annotation?

962


What are the struts2 configuration properties that control file uploading process?

1112


What is includeaction?

976


What are result types in struts?

979


What is package name in struts xml?

979


In how many ways duplicate form submission can occurs?

977


What is the purpose of @requiredstringvalidator annotation?

917


What is validate() and reset() functions?

1016


Explain about how requests from the client are sent?

978


What is pojo in struts2?

988


What kind of mvc is struts 2?

1009


What are the steps used to setup dispatch action?

1015


What is the purpose of @key annotation annotation?

1063