How to make servlet thread safe?
Answer Posted / nagababu
implementing SingleThreadModel. If a Servlet class provides
implementation of SingleThread model interface, the web
container creates multiple objects.
| Is This Answer Correct ? | 12 Yes | 7 No |
Post New Answer View All Answers
Tell us something about servletcontext interface.
What is Request Dispatcher?
What do you mean by scope object and what are its types?
What are the differences between servlet context vs servlet config?
What do you mean by session tracking and also explain its techniques?
Explain the lifecycle of a servlet?
What methodology can be followed to store more number of objects in a remote server?
What is the main purpose of java servlets?
Why is httpservlet declared abstract?
How to get the current httpsession object?
What are the steps involved in placing a servlet within a package?
Why is http protocol called as a stateless protocol?
When jsessionid is created?
What is servlet in simple terms?
What is the difference between context parameter and context attribute?