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
What do you mean by httpservlet and how it is different from the genericservlet?
How can I send user authentication information while making URL Connection?
Explain get and post.
What are the benefits of using servlet over cgi?
What is the disadvantage of cookies?
What is the GenericServlet class?
Why do we have servlet filters?
How does java thread pool work?
Why doesn’t a servlet include main()?
What is dispatcher servlet?
Difference between GET and POST?
Whether we can get deadlock situation in servlets?
Can you call a jsp from the servlet?
What do you mean by web applications? Explain web application directory arrangement?
What if you need to span your transaction across multiple servlet invocations?