title: Set request attribute using JSTL
body: <p>I have the following code:</p>
  
  <pre><code>&lt;bean:define id="hasDocuments" name="BudgetSimulationDetailForm" property="hasDocuments" type="java.lang.Boolean"/&gt; 
  &lt;%
      request.setAttribute("enablebtnRelatedDocs", "true"); 
      request.setAttribute("hasDocuments", String.valueOf(hasDocuments));
  %&gt;
  </code></pre>
  
  <p>I want to remove the scriptlet, I tried using c:set with different scopes but it didn't work. 
  Is it possible to set a request attribute using JSTL tags?</p>
  
  <p>I tried this and did not work:</p>
  
  <pre><code>&lt;c:set name="enablebtnRelatedDocs" value="true" scope="request"/&gt;
  </code></pre>
  
  <p>and also</p>
  
  <pre><code>&lt;c:set name="enablebtnRelatedDocs" value="${true}" scope="request"/&gt;
  </code></pre>
  
  <p>Afterwards there is an include:</p>
  
  <pre><code>&lt;jsp:include page="/gema/jsp/includes/detail/top_Detail.jsp"&gt;
      &lt;jsp:param name="title_key" value="${title}" /&gt;
      &lt;jsp:param name="title_bundle" value="buc" /&gt;           
      &lt;jsp:param name="standard_buttons_include" value="true" /&gt;
      &lt;jsp:param name="typeId" value="53555" /&gt;
      &lt;jsp:param name="detail" value="budget" /&gt;
  &lt;/jsp:include&gt;
  </code></pre>
  
  <p>Inside the included JSP the request attribute is not visible, apparently.</p>