Are Servlets by default thread safe or not?
thanks in advance
regards
Sudhakar
Answer Posted / naresh
Yes By Default Servlets Are ThreadSafe.....
If you use Insatance VAriables then only Servlets is having Thread Related Problems
Thats way dont recommended to use Instance VAriables in servlets...Its DAnagerous
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How can the session in servlet be destroyed?
Is servlet thread safe?
What is session?
What do you mean by cgi and what are its drawbacks?
What is java servlet?
What is the inter-servlet communication?
How can we invoke another servlet in a different application?
Explain the difference between jsp and servlet?
How do we go with database connection and log4j integration in servlet?
What are the advantages of servlets over traditional cgi?
Is that servlet is pure java object or not?
What is setattribute in servlet?
When a servlet accepts a call from a client, it receives two objects. What are they?
Describe the phases of servlet lifecycle?
Why do you use session tracking in httpservlet?