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
Which method is called when reference variable is passed in system.net?
What is the purpose of inter-servlet communication?
Write the code to get the server information in servlet.
Why the concept of single thread model interface is used?
What is the difference between genericservlet and httpservlet
Explain the custom jsp tags and the beans.
Which protocol will be used by browser and servlet to communicate
How to get the IP address of client in servlet?
Describe servlet?
What are the objects involved when a servlet receives a call from client?
What is the difference between forward () and sendredirect () functions in servlet? Explain
Define declaration.
How many objects of a servlet is created?
Explain the war file?
What is the use of httpservletresponsewrapper?