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
Why are http servlets used in programming?
What do you mean by deployment descriptor?
How do we share data using 'getservletcontext ()?
Is tomcat a servlet container?
Difference between get and post in java servlets?
Is servlet synchronized?
What are the functions of Servlet container?
What is the life-cycle of servlets?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
What is war file?
What is the difference between forward () and sendredirect () functions in servlet? Explain
What is a server side include (ssi)
Explain the features are in servlet 3?
Why the concept of single thread model interface is used?
What are advantages of servlets over cgi?