Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Vijay Kumar
destroy() in servlet
1 Answer(s)      4 years and 2 months ago
Posted in : Servlet Interview Questions


Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?


Advertisement
View Answers

November 2, 2010 at 2:48 PM


Yes, but Before calling the destroy() method, the servlet container waits for the remaining threads that are executing the servlet?s service() method to finish.



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com