Are Servlets by default thread safe or not?
thanks in advance
regards
Sudhakar
Answer Posted / rv.nandakishore
No.
By default Servlets are not thread safe...Bcoz Servlet is
concept of Single instance multiple threads concept.
Multiple thread are acting on single object means its not
thread safe....
Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
Explain the custom jsp tags and the beans.
Why do we need a constructor in a servlet if we use the init method?
What is servlet and list its types?
What are important features of Servlet 3?
What are some advantages of storing session state in cookies?
How is an application exception handling is done using a servlet?
List out difference between a JavaBean from a Servlet?
What is the directory structure of web application?
Which exception is thrown if the servlet is not initialized properly?
What is the process for chaining servlet?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
What is the use of servlet context?
What is getservletcontext?
What is the difference between CGI and Servlet?
request parameter how to find whether a parameter exists in the request object?