title: struts2: avoiding hardcode in struts tags, jsp
body: <p>When using struts2 I can access my session attributes inside struts2 tags using OGNL expression like this:</p>
  
  <pre><code>#session['object_key']
  </code></pre>
  
  <p>The problem is that I use this expression on different pages, every time hardcoding that 'object_key' string. Is there any way I can use any sort of named constant, so that I can easily change the key used to store my object in session map?</p>