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

how to get the last 10 elements using logic:iterate in struts with hiernate from database.

4266


Do you need an alignment after replacing struts?

737


How is declarative handling of exceptions done in struts ?

673


What is the purpose of @urlvalidator annotation?

730


What is the use of form bean in struts?

687


What are the action classes in struts?

751


How to override the default error message that can come during file uploading process?

766


Which file is used by controller to get mapping information for request routing?

784


What is strut action mapping?

711


What is difference between actionform and dynaactionform?

780


Name some useful annotations introduced in Struts2?

714


What is the purpose of struts.properties in struct2?

697


What do you mean by ognl?

751


Explain the components of struts?

727


Is struts mvc framework?

665