📄 update.jsp
字号:
<%@ include file="/WEB-INF/view/include/taglibs.jsp" %>
<%@ page language="java" contentType="text/html;charset=gb2312" import="java.util.*" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'update.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="styles/main.css">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
修改图书. <br>
<FORM name="updateBookForm" method="post" action="/bookStore/updateBook.do" onSubmit="return chk();">
<TABLE>
<TR><td><LABEL>书名</LABEL></td><td>
<input name="id" type=hidden value='<c:out value="${bookinfo.id}"/>'>
<INPUT name="name" value='<c:out value="${bookinfo.name}"/>'></td></TR>
<TR><td><LABEL>类别</LABEL></td><td>
<SELECT name="categoryid">
<c:out value="${bookinfo.categoryid}"/>
<c:forEach var="cate" items="${cate}">
<OPTION value='<c:out value="${cate.id}"/>'>
<c:out value="${cate.categoryname}" />
</OPTION>
</c:forEach>
</SELECT></td></TR>
<TR><td><LABEL>作者</LABEL></td><td> <INPUT name="author" value='<c:out value="${bookinfo.author}"/>'></td></TR>
<TR><td><LABEL>出版社</LABEL></td><td> <INPUT name="press" value='<c:out value="${bookinfo.press}"/>'></td></TR>
<TR><td><LABEL>定价</LABEL></td><td> <INPUT name="price" value='<c:out value="${bookinfo.price}"/>'></td></TR>
<TR><td><LABEL>售价</LABEL></td><td> <INPUT name="saleprice" value='<c:out value="${bookinfo.saleprice}"/>'></td></TR>
<TR><td><LABEL>简介</LABEL></td><td> <textarea name="descript" cols="100" rows="5" ><c:out value="${bookinfo.descript}"/></textarea></td></TR>
<TR><td><LABEL>内容目录</LABEL></td><td> <textarea name="content" cols="100" rows="10" ><c:out value="${bookinfo.content}"/></textarea></td></TR>
<TR>
<td><BUTTON type="submit">确定</BUTTON></td>
<td><BUTTON type="reset">重填</BUTTON></td>
</TR>
</TABLE>
</FORM>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -