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
What is the default http method in the servlet?
What is meant by a servlet?
What are the types of an http request?
How httpservlet is different from the genericservlet?
Differentiate between the print writer and servlet output stream?
Explain the difference between get and post method in servlet?
Explain jsessionid?
Explain how to improve Servlet Performance?
What is the life cycle of a servlet?
Explain the features are in servlet 3?
Can we use threads in Servlets?
what do you understand by url rewriting?
Which method is called when reference variable is passed in system.net?
What do you mean by mime type?
Why do we use sendredirect() method?