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

<html>
 <head><title>Find Free Time</title></head>
 <body>
 <sql:connection id="conn1">
  <sql:userId>worrall</sql:userId>
  <sql:password>h524b1</sql:password>
  <sql:url>jdbc:mysql://jaguar.cis.udel.edu:8099/worrall</sql:url>
  <sql:driver>org.gjt.mm.mysql.Driver</sql:driver>
 </sql:connection>
  <h2>Find Free Times</h2>
  <hr/>
  select 3 people
   <form>
    <input type="hidden" name="tag" value="2" />
    user 1
    <select name="user2">
    <sql:statement id="stmt1" conn="conn1">
      <sql:query>
       SELECT * FROM user
      </sql:query>
      <sql:resultSet id="rset1">
       <option><sql:getColumn postion="1" /></option>
      </sql:resultSet>
     </sql:statement>
    </select>
    <br>
    user 2
    <select name="user3">
    </select>
    <br>
    user 3
    <select name="user4">
    </select>
    <br>

    restriction:<input type="text" name="restriction"><br>
    <input type="submit">  
   </form>
 </body>
</html>
