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 difference in between the httpservlet and generic servlet?
How do servlets work?
What is the difference between sendredirect() and forward() in a servlet?
What are the drawbacks of cgi?
Why do we have servlet filters?
Why do we need a constructor in a servlet if we use the init method?
What is setattribute in servlet?
Can you call a jsp from the servlet?
Describe the phases of servlet lifecycle?
How can you run a servlet program?
Explain the difference between jsp and servlet?
What do you mean by web applications?
What must be implemented by all servlets?
Is java servlet still used?
What's the use of servletcontext?