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
What is servlet name in web xml?
What is servlet used for?
How forward () method is different from send redirect () method?
Describe the phases of servlet lifecycle?
How can the session in servlet can be destroyed?
Which is better jsp or servlet?
How to find whether a parameter exists in the request object?
What are the type of protocols used in httpservlet?
Explain the war file?
What are sessions in servlets?
Define the life cycle of a servlets.
What is Servlet API used for connecting database?
What are the life-cycle methods for a servlet?
What is the use of servlet context?
What is the difference between the servlets and cgi programs?