57. </tr>
58. </tbody>
59. </table>
60. </form>
61. <inputtype="button"onclick="document.location='<%=request.getContextPath()%>/
book.do?method=listbook';"
62. value="
63. 返回列表">
64. </body>
65. </html>
(4)edit.jsp(书籍修改页面)
[c-sharp] view plaincopyprint?
1. <%@pagelanguage="java"pageEncoding="GBK"isELIgnored="false"%>
2. <!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01Transitional//EN">
3. <html>
4. <head>
5. <title>修改书籍</title>
6. <metahttp-equiv="pragma"content="no-cache">
7. <metahttp-equiv="cache-control"content="no-cache">
8. <metahttp-equiv="expires"content="0">
9. <mce:scripttype="text/javascript"src="js/form.js"mce_src="js/form.js"></mce:script>
10. </head>
11. <body>
12. <h3>
13. 修改书籍
14. </h3>
15. <formaction="<%=request.getContextPath()%>/book.do?method=updatebook"onsubmit
="returncheckForm(this);"method="post">
16. <inputtype="hidden"value="${book.id}"name="id"/>
17. <tablewidth="100%"border="0">
18. <tbody>
19. <tr>
20. <td>