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
Explain in brief the directory structure of a web application?
Why HttpServlet class is declared abstract?
What is the major difference between servlet and applet?
Define the lifecycle for executing a jsp page.
What is url encoding and url decoding
Describe in brief RequestDespatcher?
How do you find out what client machine is making a request to your servlet
Explain the role of dispatcherservlet and contextloaderlistener.
What is Servlets and explain the advantages of Servlet life cycle?
Write a command to get actual path of a servlet to the server?
Explain the working of service() method of a servlet.
how the HTML data stored in web server?
What are the jobs performed by servlets?
What is servlet and how it works?
What is the difference between servlet and filter?