<%@ page language="java" errorPage="error.jsp" import="java.util.Vector" contentType="text/html;charset=UTF-8"%>
<title>seeitems.jsp</title>
See the list of :<br>
<form method="get" action="seeitems.jsp" >
<% 
  String itemid=request.getParameter("itemid");
  if (itemid==null) itemid="";
%>
Category: <SELECT name="itemid">
<OPTION value="select"  >Select
<OPTION value="Veggie" <%= itemid.equals("Veggie")?"selected":"" %> >Veggie
<OPTION value="Meat" <%= itemid.equals("Meat")?"selected":"" %> >Meat
<OPTION value="Fish" <%= itemid.equals("Fish")?"selected":"" %> >Fish
</SELECT>
<br>
<input type=submit> <input type=reset>
</form>
<br>

<jsp:include page="listitem.jsp" flush="true" />
<br>
<a href="additem.html" >Add items</a>
<br>

