title: Unable to access scriptlet variable from inside Struts 2 tag
body: <p>I am trying to access a scriptlet variable inside a struts2 <code>s:if</code> tag in my JSP </p>
  
  <pre><code>&lt;%
  Website website = (Website)request.getAttribute(Website.NAME);
  out.println(website.isUkSite());  // prints true
   %&gt;
  
  &lt;s:if test="#website.isIrishSite()"&gt;  // this is returning false 
  ....
  </code></pre>
  
  <p>actually this <code>s:if</code> should evaluate to <code>true</code>. What is the issue ?</p>