title: Call an action when closing a JSP
body: <p>I'm new to the java web world, so forgive me if I say something stupid.</p>
  
  <p>I'm working with struts 2 and I need to delete a file (which is located on the server) when a jsp is closed.</p>
  
  <p>Does any body knows how to do this?</p>
  
  <p>Thanks in advance.</p>