📄 goodschange.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>修改商品界面</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.css">
-->
<script type="text/javascript">
function preview5(){
var x = document.getElementById("file5");
if(!x || !x.value) return;
var patn = /\.jpg$|\.jpeg$|\.gif$/i;
if(patn.test(x.value)){var y = document.getElementById("img5");
if(y){y.src = 'file://localhost/' + x.value;
}
else{var img=document.createElement('img');
img.setAttribute('src','file://localhost/'+x.value);
img.setAttribute('width','120');
img.setAttribute('height','90');
img.setAttribute('id','img5');
document.getElementById('form5').appendChild(img);
}
}else{alert("您选择的似乎不是图像文件。");
}
}
</script>
</head>
<body>
<h3 align="left">修改商品信息</h3><p> </p><form name="form5" id="form5" method="post" action="/gouwuche3/GoodsChange"><table width="898" height="368" border="1" >
<tr>
<td width="214" rowspan="5" align=center>
<input type="file" name="file5" id="file5" onchange="preview5()"/>
</td>
<td width="222" height="68">图书编号:
<input type="text" name="bookid" value="" size=15 readonly /></td>
<td width="216">图书名:
<input type="text" name="bookname" value="" size=15/></td>
<td width="218" >作者:
<input type="text" name="author" value="" size=15/></td>
</tr>
<tr>
<td height="67">版 本:
<input type="text" name="publish" value="" size=15/></td>
<td width="216">ISBN:
<input type="text" name="isbn" value="" size=15/></td>
<td >库存:
<input type="text" name="content" value="" size=15/></td>
</tr>
<tr>
<td height="81">字 数:
<input type="text" name="words" value="" size=15/></td>
<td>页数:
<input type="text" name="page" value="" size=15/></td>
<td>类别:
<input type="text" name="sort" value="" size=15/></td>
</tr>
<tr>
<td height="69">包 装:
<input type="text" name="package" value="" size=15/></td>
<td colspan="2">内容简介:
<textarea name=conent rows=5 cols=60></textarea>
</td>
</tr>
</table>
<div align="center"><input type="submit" name="submit" value=" 提交" />
<input type="reset" name="reset" value="重置" /></div>
</form></body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -