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 the HTML data stored in web server?
What is the functionality of actionservlet and requestprocessor?
What is the use of servletconfig interface?
Why is httpservlet declared abstract?
How can we refresh automatically when new data is entered into the database?
How to get the current httpsession object?
What is the advantage of Servlets when compared with other server side technologies?
Is that servlet is pure java object or not?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
Can we override servlet service method?
What is the capacity the doget can send to the server?
What is servlet in simple terms?
What do you mean by scope object and what are its types?
List some life cycle methods of a servlet.
What do you mean by mime type?