title: how to detect tomcat session expiration using spring
body: <p>i am running wicket with spring and use spring security , when tomcat session , the one which declared in the web.xml expired </p>
  
  <pre><code>&lt;session-config&gt;
      &lt;session-timeout&gt;1&lt;/session-timeout&gt;
  &lt;/session-config&gt;
  </code></pre>
  
  <p>I want to catch this event using a filter(not overiding existing httpSession or Session ) 
  how can I achive that using spring ? </p>
  
  <p>10x</p>