What is Single Threaded Model in Servlets? Explain this
with an example?

Answer Posted / balu

But see when a servlet implements singleThreadModel, as the
singleThreadModel is marker how come the servlet comes to
know that servlet is threadsafe?...

Is This Answer Correct ?    4 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is called Session Tracking?

590


What is cookie in servlet?

586


What is servlet invoker?

595


What do you mean by httpservlet?

557


What is the type of method for sending request from http server?

586






What is the use of httpservletrequestwrapper?

580


List some life cycle methods of a servlet.

581


Why are servlets used?

523


What's the difference between authentication and authorization?

538


What do you mean by a filter and how does it work?

528


What are the life cycle methods of the servlet?

570


Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?

761


What are advantages of servlets over cgi?

618


How to get the IP address of client in servlet?

618


Why is init() method is used in servlets?

550