Is Servlet Class Thread safe?????? How to make servlet
Thread safe ???
Answer Posted / samba
NO.
Servlet is not thread safe.it allows to access more than one
thread at a time.IF we want to make servlet as a thread safe
then make service method is synchronized or implement
SingleThreadModel interface.There is no methods in this
interface.
Is This Answer Correct ? | 21 Yes | 0 No |
Post New Answer View All Answers
What is the difference between sendredirect() and forward() in a servlet?
Difference between java beans & servlets?
What are different ways for authentication of servlet?
What is the process for chaining servlet?
Why is a constructor needed in a servlet even if we use the init method?
What is the importance of init() method in Servlet ?
What are the different types of servlets?
Explain get and post.
What’s the use of the servlet wrapper classes??
How can we create deadlock situation in servlet?
Which interface should be implemented by all servlets?
What do you mean by cgi in servlet?
I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?
When servlet object is created?
What are the various ways of session supervision in servlets?