title: Sent data from servlet to jsp and dynamically generate dropdown list
body: <p>In a servlet I have a list which has data.  I put that list in a method <code>doget()</code> to access it in the onPage Load event.</p>
  
  <pre><code>List&lt;Integer&gt; list = pse.populateemployee();
  request.setAttribute("list", list);
  </code></pre>
  
  <p>I want to send that list to my JSP page using JSTL.</p>
  
  <p>I tried this: </p>
  
  <pre><code>&lt;select name="selectemployee"&gt;
   &lt;c:forEach var="employees" items="${list}"&gt;
       &lt;option&gt; &lt;c:out value="${employees}"/&gt; &lt;/option&gt;
   &lt;/c:forEach&gt;
  &lt;/select&gt; 
  </code></pre>
  
  <p>I am using MVC </p>
  
  <p>Why isn't this working?</p>