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
Explain the custom jsp tags and the beans.
What is servlet name in web xml?
Explain the differences between jsp and servlet.
How many servlet objects are created?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
How printwriter is different from servletoutputstream?
Elucidate servlet attributes and its scope?
What must be implemented by all servlets?
Define servlet mapping?
What is called servlet mapping?
Describe some assignments that are executed by servlet container?
What are the uses of servlet
What is servlet collaboration?
Why HttpServlet class is declared abstract?
What is the use of httpservletresponsewrapper?