<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>添加页面</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/index2.css">
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.min.js"></script>
</head>
<body>
<form:form action="/add" method="post" modelAttribute="shop">
<table>
<tr>
<td>商品名称:</td>
<td>
<form:input path="sname"/>
</td>
</tr>
<tr>
<td>商品分类:</td>
<td>
<form:input path="sfenlei"/>
</td>
</tr>
<tr>
<td>积分数量:</td>
<td>
<form:input path="sjifen"/>
</td>
</tr>
<tr>
<td>可兑换数量:</td>
<td>
<form:input path="sduihuan"/>
</td>
</tr>
<tr>
<td>已兑换数量:</td>
<td>
<form:input path="syiduihuan"/>
</td>
</tr>
<tr>
<td>已</td>
<td>
<form:button>保存</form:button>
</td>
</tr>
</table>
</form:form>
</body>
</html>