Are Servlets by default thread safe or not?
thanks in advance
regards
Sudhakar
Answer Posted / rv.nandakishore
No.
By default Servlets are not thread safe...Bcoz Servlet is
concept of Single instance multiple threads concept.
Multiple thread are acting on single object means its not
thread safe....
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
What is the use of send redirect () method?
What are the advantages of servlets over traditional cgi?
What is servlet attributes and their scope?
What is Request Dispatcher?
What is servlet and its life cycle?
What are the objects involved when a servlet receives a call from client?
What is URL Encoding?
Explain the difference between jsp and servlet?
Can we get PrintWriter and ServletOutputStream both in a servlet?
Difference between GET and POST?
How do you load an image in a Servlet?
What is session?
What is the default http method in the servlet?
What’s the difference between sendredirect and forward methods
What do you mean by session tracking?