What is Single Threaded Model in Servlets? Explain this
with an example?
Answer Posted / nishant
Single thread model is generally not used because it
increases the burden and overhead on the container because
it has to make new instance of the servlet for each and and
every new request.
Sometimes we need to achive the Single thread model in
order to secure our web-application.
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
What is meant by a web application
Which is the methods of generated servlet?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
What is the difference between portlet and servlet?
What are the phases of the servlet life cycle?
What are the disadvantages of storing session state in cookies?
What are advantages of servlets over cgi?
What is the GenericServlet class?
How do you define a servlet?
What are the mechanisms used by a servlet container for maintaining session information?
How many objects of a servlet is created?
What is servlet and how it works?
Write a program to show the functionality of doget and dopost method?
What is the difference between sendredirect() and forward() in a servlet?
What is the difference in between the httpservlet and generic servlet?