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
What is servlet and its life cycle?
What is servlet looping or chaining?
What are the uses of servlet and what is servlet chaining?
What do you understand by mime type?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
Why do we need servlet filter?
What is Request Dispatcher?
How do you deal property files in servlet?
What is the purpose of requestdispatcher interface?
What are its drawbacks of cgi?
How to commuincate between an applet and a servlet?
Why do we have servlet filters?
What is servlet and its types?
Explain the difference between servletconfig and servletcontext in servlet?
Which http method is said to be non-idempotent and idempotent?