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 is servlet initializer?
Can we use the constructor, instead of init(), to initialize servlet?
List the Different types of servlet?
What is the
What do you mean by servlet context?
Can servlet have a constructor ?
What are different ways for authentication of servlet?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
Explain the servlet filter.
What's the servlet interface?
What is a servlet context object?
Write a command to get actual path of a servlet to the server?
what is servlet chaining?
What is the functionality of actionservlet and requestprocessor?
What is a web container and what is its responsibility?