What is Single Threaded Model in Servlets? Explain this
with an example?
Answer Posted / niranjanravi
Single Thread Model ensures that servlet handles only one
request at a time.When YOUR CLASS IMPLEMENTS THIS INTERFACE
WE ARE GUARENTEED THAT no two threads run simultaneously in
service() method.
this is a marker interface which contains no methods on its
own.
Is This Answer Correct ? | 53 Yes | 3 No |
Post New Answer View All Answers
Can servlet have a constructor ?
Why is init() method is used in servlets?
How do servlets work?
What is the difference between genericservlet and httpservlet
What do you mean by httpservlet?
Which httpsession object is used to view and manipulate information about a session?
What is called servlet mapping?
What do you mean by filter in servlet?
Which http method is said to be non-idempotent and idempotent?
What is difference between jsp and servlet?
What are the differences between the servletconfig interface and the servletcontext interface?
What are the features added in Servlet 2.5?
What is meant by a web application
What's the difference between authentication and authorization?
What is the difference between context parameter and context attribute?