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
List out difference between a JavaBean from a Servlet?
What is the directory structure of a war file?
What are the difference between session and cookies in servlet? Explain
Name the packages that work with servlet?
How is the get () method different from the post() method?
What are important features of Servlet 3?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
What are the uses of servlet and what is servlet chaining?
What is the need of session tracking in web application?
How native code can be used in a servlet?
What is the servletconfig object?
Can you send an authentication error from a servlet?
What do you mean by scope object and what are its types?
What is servlet invoker?
What is called Scriptlet?