What is Single Threaded Model in Servlets? Explain this
with an example?
Answer Posted / rajesh r
Hi
The SingleThreadedModel has been deprecated from Servlet
specification due to a performace hit.
Please donot use this in future use Synchronized block if
you really need to protect your Attributes from cuncurrent
access.
Thanks
Rajesh
rajeshr1988@gmail.com
Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
How can you create a session in servlet?
What are different ways for servlet authentication?
How servlets are deployed in java?
Explain web container.
What is preinitialization of a servlet?
Explain jsessionid and when is it created?
I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?
Write a command to get actual path of a servlet to the server?
How can I send user authentication information while making URL Connection?
Is that servlet is pure java object or not?
What are the ways to handle multi-threading in servlets?
What are the advantages of Servlet over CGI?
What are the life-cycle methods for a servlet?
What is meant by a servlet?
What is servlet looping or chaining?