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 servletconfig?
What does the term localization refer to?
What is SingleThreadModel interface?
What is the difference between using getSession(true) and getSession(false) methods?
Explain is servlet mapping?
Which event is fired at the time of setting, getting or removing attribute from application scope?
Define declaration.
What are the features added in Servlet 2.5?
Describe some assignments that are executed by servlet container?
Explain the servlet filter.
Explain the role of dispatcherservlet and contextloaderlistener.
What are Servlets?
Why jsp is better than servlet?
What is called servlet container?
What is the difference between 2 types of servlets?