Are Servlets by default thread safe or not?
thanks in advance
regards
Sudhakar
Answer Posted / nilofar
no by default servlets are not threads safe .oly particular
lines of service method can be synchronised to make it
thread safe
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
Difference between httpservlet and generic servlets?
What is the purpose of inter-servlet communication?
What are the types of servlets? Explain
Tell us something about servletconfig interface.
What is the difference between 2 types of servlets?
What is a servlet engine?
How do I support both get and post from the same servlet?
Explain servlet.
How do we share data using 'getservletcontext ()?
How can you use a servlet to generate a plain text instead of html?
What do you mean by default initialization in java servlet?
Write all the phases defined in servlet life cycle?
What are the two important api's in for servlets?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
Is it good idea to create servlet constructor?