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 are the objects involved when a servlet receives a call from client?
Explain the jar and war files in servlet?
Which interface must be implemented by all servlets?
How is the get () method different from the post() method?
What is the difference between genericservlet and httpservlet
What is session tracking?
What is the difference between the http servlet and generic servlet?
What is the directory structure of web application?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
How can you use a servlet to generate a plain text instead of html?
How does tomcat servlet container work?
What are the phases of servlet life cycle?
If servlet receives multiple requests, how many objects will it create?
What is a web container and what is its responsibility?
What is servlet used for?