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
How do you find out what client machine is making a request to your servlet
why we should override only no-agrs init() method.
How to get the path of servlet in the server?
What is the use of send redirect () method?
What are the life cycle methods of a servlet?
What are session variable in servlets?
What are the kinds of http requests?
Describe servlet?
Explain how does JSP handle run-time exceptions?
How can we invoke another servlet in a different application?
How to find whether a parameter exists in the request object?
Describe in brief RequestDespatcher?
What are the new features added to servlet 2.5?
What are its drawbacks of cgi?
What is the directory structure of web application?