title: Session handling in Struts 2.1.6
body: <p>I have a project with the following setup:</p>
  
  <pre><code>Tomcat 6.x
  Struts 2.1.6
  DisplayTag 1.2
  Spring 2.x (1 or 5, don't remember now)
  </code></pre>
  
  <p>I want to know to to do session controlling in every action of my app, like if the users weren't logged in, they're redirect to certain page to login (in the case of my project, either the user come to a special crafted url like login/SPECIALHASHTOLOGIN or won't enter at all.</p>
  
  <p>Need more details?</p>
  
  <p>Thx in advance.</p>