<%@page pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script>

</script>
<title>Insert title here</title>
</head>
<body>
	<form action="insertSql.do" method="post">
		<div>
			<span>导入的产品为：<select name="productId">
			<option> </option>
			<c:forEach items="${product}" var="product">
				<option value="${product.productId}">${product.productName}</option>
			</c:forEach>
			</select>
			</span>
		</div>
		<div>
			<ul>
			<li>单位净值：<select name="accumulativeValue">
							<option></option>
							<c:forEach items="${list}" var="list">
								<option value="${list.index}">${list.value}</option>
							</c:forEach>
					</select>
				</li>
				<li>净值(劣后)：<select name="netValue">
							<option></option>
							<c:forEach items="${list}" var="list">
								<option value="${list.index}">${list.value}</option>
							</c:forEach>
					</select>
				</li>
				<li>日期：<select name="expiryDate">
							<option></option>
							<c:forEach items="${list}" var="list">
								<option value="${list.index}">${list.value}</option>
							</c:forEach>
					</select>
				</li>
			</ul>
		</div>
		<div>
			<input type="submit" value="导入到数据库" />
		</div>
		<input type="hidden" name="fileName" value="${fileName}" /> <input
			type="hidden" name="sheetName" value="${sheetName}" /> <input
			type="hidden" name="tableName" value="${tableName}" />
	</form>
</body>
</html>