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
Why is Servlet so popular?
How to upload a file to the server using servlet?
How will two or three servlets interact or communicate with each other?
What is servlet name in web xml?
What is meant by servlet? What are the parameters of the service method?
Write a program to show the functionality of servlets.
why we should override only no-agrs init() method.
What is context in servlet?
Why do we have servlet listeners?
What are all the advantages of servlet over cgi?
Write a hello world program using servlets.
Explain the features are in servlet 3?
What are the phases of a servlet life cycle?
How can you create a session in servlet?
What exactly are the functions of servlet?