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 the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
How do servlets work?
Whether we can get deadlock situation in servlets?
What is the difference between get and post methods?
What is servlet api used for conneting database?
What is the default http method in the servlet?
What do you mean by cgi?
What is the difference between Difference between doGet() and doPost()?
How is an application exception handling is done using a servlet?
Describe in brief RequestDespatcher?
What are the jobs performed by servlets?
What is called Session Tracking?
What's the difference between authentication and authorization?
What are the phases of a servlet life cycle?
Write a servlet to upload file on server.