📄 addproduct.html
字号:
<html>
<%@ page contentType="text/html;charset=gb2312" import="java.sql.*,java.io.*"%>
<head>
<title>增加商品</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<jsp:useBean id="pro" class="product1.product" scope="page">
<jsp:setProperty name="pro" property="*"/>
</jsp:useBean>
<body>
<div id="Layer1" style="position:absolute; left:613px; top:409px; width:74px; height:25px; z-index:1">
<div align="center">【<a href='javascript:window.close()'>关闭</a>】</div>
</div>
<div id="Layer2" style="position:absolute; left:691px; top:409px; width:64px; height:23px; z-index:2">
<div align="center">【<a href=javascript:print()>打印</a>】</div>
</div>
<div id="Layer3" style="position:absolute; left:531px; top:408px; width:75px; height:26px; z-index:3">
<div align="center">【<a href="index.jsp">返回</a>】</div>
</div>
<%
try
{
pro.addproduct();
}catch(Exception e)
{}
%>
<center>
<br><br>
<h1>增加商品</h1>
<br><br>
<hr style="1"></hr>
<form action="addproduct.jsp" method="post">
<table width="500">
<tr>
<td width="100" align="right">商品名称</td><td width="400" align="left"><input type="text" name="name"></td>
</tr>
<tr width="500">
<td width="100" align="right">生产日期</td><td width="400" align="left"><input type="text" name="date"></td>
</tr>
<tr width="500">
<td width="100" align="right">厂商</td><td width="400" align="left"><input type="text" name="address"></td>
</tr>
<tr width="500">
<td width="100" align="right">保质期</td><td width="400" align="left"><input type="text" name="keep"></td>
</tr>
<tr width="500">
<td width="100" align="right">价格</td><td width="400" align="left"><input type="text" name="price"></td>
</tr>
<tr width="500">
<td width="100" align="right">数量</td><td width="400" align="left"><input type="text" name="mount"></td>
</tr>
<tr width="500">
<td width="250" align="right"><input type="submit" value="提交"></td><td width="250" align="left"><input type="reset" value="重置"></td>
</tr>
</table>
</form>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -