Submitted Questions

  • Is Servlets thread-safe?

    service() method of servlet class is not synchronize then how will it work as thread-safe for every request at the same time?

    vinay

    • Sep 16th, 2017

    Above mentioned both (Servlet and JSP are multithreaed) so my question is (suppose if the thread deads in servlet it may not) then how can we say that multi-thread, can you explain if it occurs and how to handle.

    sujata waghmare

    • Jan 10th, 2014

    Servlets thread safe..servlet and jsp both are multithreaed thats why control the flow ...