The _________ method should be used carefully in servlets due to potential thread safety issues.

  • destroy()
  • doGet()
  • init()
  • service()
The service() method should be used carefully in servlets due to potential thread safety issues. It handles requests and might result in multiple threads accessing the servlet concurrently, requiring careful consideration for thread safety.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *