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

What is the difference between struts and spring? Explain

674


Why use spring, if you are already using struts?

722


How can forward action be used to restrict a strut application to mvc?

727


How does struts work?

716


Does Struts2 action and interceptors are thread safe?

760


How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?

2710


Where can I get a copy of struts?

706


What are the classes used as part of struts framework ?

692


What are result types in struts?

750


How is the mvc design pattern used in struts framework?

698


What is struts and springs in java?

729


Why do we need struts?

699


How do you convert struts to springs?

754


What is struts?

741


What is the purpose of @before annotation?

762