how handle when client send multiple request at atime for
single servlet

Answer Posted / sunil kumar yadav

As Servlets are multithreaded by default , so whenever any
client request comes to any servlet immediatly that servlet
instance create one indepndent thread to handle that
request.And like that it handles 100's of request, But
after one time instace if client request goes very high
then container creats another instance for the same servlet
to handle more requests

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How duplicate form submission can be controlled in struts?

647


Explain how to work with error tags?

585


What is life cycle of an interceptor?

548


how to develop the submit and search operations in single jsp using struts?

2558


Explain about the process of functioning of the struts program?

593






How to get data from the velocity page in a action class?

567


What is use of i18n interceptor?

540


Which class is the Front Controller in Struts2?

544


Name some of the features of struts2?

571


What is the purpose of @after?

585


What is the purpose of struts.xml in struct2?

679


in struts how to use hibernate with struts>

1828


What is struts? Explain

542


What is the purpose of @typeconversion annotation annotation?

561


What inbuilt themes are provided by struts2?

591