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


Please Help Members By Posting Answers For Below Questions

Explain the custom jsp tags and the beans.

613


Why do we need a constructor in a servlet if we use the init method?

509


What is servlet and list its types?

536


What are important features of Servlet 3?

587


What are some advantages of storing session state in cookies?

589






How is an application exception handling is done using a servlet?

535


List out difference between a JavaBean from a Servlet?

562


What is the directory structure of web application?

522


Which exception is thrown if the servlet is not initialized properly?

582


What is the process for chaining servlet?

604


When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?

572


What is the use of servlet context?

525


What is getservletcontext?

544


What is the difference between CGI and Servlet?

579


request parameter how to find whether a parameter exists in the request object?

564