What is Single Threaded Model in Servlets? Explain this
with an example?
Answer Posted / sateesh.b
SingleThreadModel is a taged interface i.e. an interface
with out methods.
If any servlet is implimenting singlethreadmodel interface
that servlet is said be thread safe i.e. for each request
to that servlet one new object will be created in the server
| Is This Answer Correct ? | 13 Yes | 5 No |
Post New Answer View All Answers
Explain the steps involved in placing a servlet within a package?
Why the container loads server at the application startup and how?
How is an application exception handling is done using a servlet?
What are common tasks performed by Servlet Container?
What is the difference between sendredirect() and forward() in a servlet?
What is the life cycle of a servlet?
How are filters?
What is session?
How do you communicate in between Applets and Servlets?
Define context initialization parameters.
What is servlet used for?
Why servlet is mostly used?
What are the functions of Servlet container?
What are the life-cycle methods for a servlet?
What are the two important api's in for servlets?