Calling servlet's destroy method
问题 As per the link http://www.xyzws.com/Servletfaq/when-is-destroy-of-servlets-called/20, one of the reason of calling destroy method is when the servlet hasn't got a request in a long time . I was thinking there could be some pages that don't get called for a long time. So, does that mean destroy will be called and they will be no longer used? Actually, I was asked this question in interview and he told me that destroy method will only be called when server is shut down. Appreciate any help on