title: not able to use bean:define variable in non stuts tags in a jsp page
body: <p>I am able to use "acctNum" inside scriptlet as &lt;%=acctNum %> with in the block of statements inside  tag as mentioned in the below code.</p>
  
  <pre><code>&lt;logic:greaterEqual name="childArraySize" value="1"&gt;
   &lt;bean:define id="acctNum" name="overviewSel" property="accountNumber" type="String"/&gt;
   &lt;logic:equal name="accountNumber" value="&lt;%=acctNum %&gt;"&gt;
      &lt;bean:define id="STItemIndex" name="ItemIndex"/&gt;
      &lt;bean:define id="overviewCh" name="overviewSel" type="com.beans.statements.StatementAccount"/&gt;
      &lt;bean:define id="arraySize"  name="childArraySize"/&gt;
      &lt;bean:define id="statementAccountTypeDesc" name="statementAccountTypeDescSel"/&gt;
    &lt;/logic:equal&gt;    
  &lt;/logic:greaterEqual&gt;
  </code></pre>
  
  <p>But I'm not able to use this in the code anywhere after <code>&lt;/logic:greaterEqual&gt;</code>
  it gives me intermittent error when using it in a scriptlet i.e., inside <code>&lt;% --- %&gt;</code>, I am getting '<em>acctNum can not be resolved</em>'</p>
  
  <p>But it works if I use it in any struts tag like <code>&lt;bean:write name="acctNum"&gt;</code></p>
  
  <p>Please let me know if there is a work around for this</p>