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
What are the type of protocols used in httpservlet?
What are the advantages of cookies?
What are the differences between forward() method and sendredirect() methods?
What are different ways for servlet authentication?
What are the drawbacks of cgi?
Explain Action Servlet?
What are advantages of servlets over cgi?
How servlets are deployed in java?
Write a program to show the functionality of doget and dopost method?
What's the advantages using servlets than using cgi?
What is servlet mapping?
What are the objects involved when a servlet receives a call from client?
Explain the different ways for servlet authentication?
How do you deal property files in servlet?
Explain get and post.