<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

Please choose a survey to take:

<form action="TakeSurvey" method="post">
  <select name="surveyId">

    <c:forEach items="${surveys}" var="survey">

      <option value="<c:out value="${survey.id}"/>"><c:out value="${survey.name}"/></option>

    </c:forEach>

  </select>
  <input type="submit" value="Take Survey" />
</form>
