📄 update.jsp
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html; charset=gb2312" %>
<% request.setCharacterEncoding("GB2312"); %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>无标题文档</title>
<style type="text/css">
<!--
.STYLE2 {
font-size: 36pt;
font-weight: bold;
color: #0099FF;
}
.STYLE3 {font-size: 14pt; font-weight: bold; color: #0099FF; }
.STYLE4 {
font-size: 18px;
font-weight: bold;
color: #FF0000;
}
.STYLE6 {font-size: 24pt; font-weight: bold; color: #FF0000; }
-->
</style>
</head>
<body>
<%
String id = request.getParameter("id");
String name = request.getParameter("name");
String price = request.getParameter("price");
String author = request.getParameter("author");
String date = request.getParameter("date");
String bookman = request.getParameter("bookman");
%>
<script language="javascript">
function change(){
document.getElementById("id").disabled=false;
}
</script>
<form id="form1" name="form1" method="post" action="doUpdate.jsp" onsubmit="return change()">
<p align="center" class="STYLE2">图书信息更新</p>
<p align="left" class="STYLE6">更新前:</p>
<p align="left" class="STYLE3">索 引:
<input type="text" name="textfield" value="<%=id %>" />
</p>
<p align="left" class="STYLE3">书 名:
<input type="text" name="textfield2" value="<%=name %>"/>
</p>
<p align="left" class="STYLE3">定 价:
<input type="text" name="textfield3" value="<%=price %>"/>
</p>
<p align="left" class="STYLE3">作 者:
<input type="text" name="textfield4" value="<%=author %>"/>
</p>
<p align="left" class="STYLE3">出版日期:
<input type="text" name="textfield5" value="<%=date %>"/>
</p>
<p align="left" class="STYLE3">出 版 社:
<input type="text" name="textfield6" value="<%=bookman %>"/>
</p>
<hr />
<p><span class="STYLE6">开始更新: </span> </p>
<p class="STYLE3">书 名:
<input type="text" name="textfield7" />
</p>
<p class="STYLE3">定 价:
<input type="text" name="textfield8" />
</p>
<p class="STYLE3">作 者:
<input type="text" name="textfield9" />
</p>
<p class="STYLE3">出版日期:
<input type="text" name="textfield10" />
</p>
<p class="STYLE3">出 版 社:
<input type="text" name="textfield11" />
</p>
<p class="STYLE3">
<input type="submit" name="Submit" value="确定" />
<input type="reset" name="Submit2" value="重置" />
</p>
<p align="center" class="STYLE4"><a href="index.jsp">首页</a> <a href="show.jsp">返回</a></p>
<p> </p>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -