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
Why do we have servlet wrapper classes?
How do you run a servlet?
How to get the path of servlet in the server?
Can servlet have a constructor ?
What do you mean by singlethreadmodel interface?
How to get the IP address of client in servlet?
Why servlet is used as controller ? Not JSP? I want complete explation?
What are sessions in servlets?
What is the difference between servlet and jsp?
Explain how to improve Servlet Performance?
What's the architecture of a servlet package?
What are the servlet events?
what do you understand by url rewriting?
Define the life cycle of a servlets.
explain the advantages of servlet life cycle?