title: Calling servlet's destroy method
body: <p>As per the link <a href="http://www.xyzws.com/Servletfaq/when-is-destroy-of-servlets-called/20" rel="noreferrer">http://www.xyzws.com/Servletfaq/when-is-destroy-of-servlets-called/20</a>, one of the reason of calling destroy method is <strong>when the servlet hasn't got a request in a long time</strong>.</p>
  
  <p>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?</p>
  
  <p>Actually, I was asked this question in interview and he told me that destroy method will only be called when server is shut down.</p>
  
  <p>Appreciate any help on this.</p>