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
Explain in brief the directory structure of a web application?
Can you explain in detail 'javax.servlet' package?
Explain how to improve Servlet Performance?
Does servlet have main method?
What is a generic servlet?
What is called servlet mapping?
What do you mean by filter in servlet?
what is multiple server?
What is new in ServletRequest interface ? (Servlet 2.4)
Explain web application directory arrangement?
How can we perform any action at the time of deploying the project?
Difference between httpservlet and generic servlets?
What is difference between server and servlet?
Why is httpservlet declared abstract?
Can you refresh servlet in client and server-side automatically?