123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <%@ page contentType="text/html;charset=UTF-8" language="java" %>
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>编辑图书</title>
- <%--静态包含:base标签,css样式,js脚本--%>
- <%@ include file="/pages/common/head.jsp"%>
- <style type="text/css">
- h1 {
- text-align: center;
- margin-top: 200px;
- }
-
- h1 a {
- color:red;
- }
-
- input {
- text-align: center;
- }
- </style>
- </head>
- <body>
- <div id="header">
- <img class="logo_img" alt="" src="" >
- <%-- ../../static/img/logo.gif--%>
- <span class="wel_word">编辑图书</span>
- <%--静态包含:图书馆里,订单管理,返回商城--%>
- <%-- <%@include file="/pages/common/manager_menu.jsp"%>--%>
- <div>
- <%-- <a href="manager/bookServlet?action=page">图书管理</a>--%>
- <a href="orderServlet?action=ordermanager">订单管理</a>
- <a href="index.jsp">返回商城</a>
- </div>
- </div>
-
- <div id="main">
- <%-- <form action="manager/bookServlet" method="get">--%>
- <form action="bookServlet" method="get">
- <input type="hidden" name="pageNo" value="${param.pageNo}">
- <input type="hidden" name="action" value="${param.method}" />
- <input type="hidden" name="id" value="${requestScope.book.id}" />
- <table>
- <tr>
- <td>名称</td>
- <td>价格</td>
- <td>作者</td>
- <td>销量</td>
- <td>库存</td>
- <td colspan="2">操作</td>
- </tr>
- <tr>
- <td><input name="name" type="text" value="${requestScope.book.name}"/></td>
- <td><input name="price" type="text" value="${requestScope.book.price}"/></td>
- <td><input name="author" type="text" value="${requestScope.book.author}"/></td>
- <td><input name="sales" type="text" value="${requestScope.book.sales}"/></td>
- <td><input name="stock" type="text" value="${requestScope.book.stock}"/></td>
- <td><input type="submit" value="提交"/></td>
- </tr>
- </table>
- </form>
-
-
- </div>
- <%--静态包含:页脚--%>
- <%@include file="/pages/common/footer.jsp"%>
- </body>
- </html>
|