How to make servlet thread safe?
Answer Posted / a.srinivs rao
in order to make a servlet thread safe we have to declare
the non-sharable variales inside the init method,and
sharble at the servlet class leve.
| Is This Answer Correct ? | 2 Yes | 31 No |
Post New Answer View All Answers
How a servlet is unloaded?
What does the term localization refer to?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
What’s the difference between genericservlet and httpservlet?
What is the use of request dispatcher interface?
What's the advantages using servlets than using cgi?
Why the concept of single thread model interface is used?
What is the use of servlet wrapper classes?
What are common tasks performed by Servlet Container?
How many servlet objects are created?
What is java servlet?
What are the types of servlet?
What are the disadvantages of storing session state in cookies?
Why doesn’t a servlet include main()? How does it work?
Which is better jsp or servlet?