title: How to use a Scriptlet variable in an attribute of a Struts tag?
body: <p>the listBean is already fill with data
  this is what i want to achieve : </p>
  
  <pre><code>&lt;html:checkbox name="listBean" 
          property="checked" indexed="true" 
          disabled="listBean[i].disabled" /&gt;
  </code></pre>
  
  <p>this what i have tried : </p>
  
  <pre><code>    &lt;bean:define id="disabledVal" name="listBean" property="disabled"/&gt;
      &lt;html:checkbox name="listBean" 
      property="checked" indexed="true" 
      disabled="&lt;%=disabledVal%&gt;" /&gt;
  </code></pre>
  
  <p>this code throws me a jsp error : </p>
  
  <blockquote>
    <p>BWEB004062: Unable to compile class for JSP: JBWEB004060: An error occurred at line ### : 119 in the jsp file: .jsp The method setDisabled(boolean) in the type BaseHandlerTag is not applicable for the arguments (Object) 116: codeFonctionnalite="&lt;%= NAME %>"> 117: 118: 119: 122: JBWEB004060: An error occurred at line: 136 in the jsp file: .jsp The method setDisabled(boolean) in the type BaseHandlerTag is not applicable for the arguments (Object) 133: 135: 136: 138: 139: JBWEB004211: Stacktrace:'**</p>
  </blockquote>