?? f03b8991c01d001e1672a24ec0ef4ea6
字號:
<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"
pageEncoding="UTF-8"%>
<%
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 'index.jsp' starting page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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">
-->
</head>
<body>
<body>
<form method="post" action="ProductServlet" enctype="multipart/form-data" name="productAdd">
<table width="523" height="368" border="0">
<tr>
<td colspan="2" bgcolor="#00FF00"><div align="center">
<h2>商品添加</h2>
</div></td>
</tr>
<tr>
<td width="99">商品名稱:</td>
<td width="414"><input type="text" name="productName"></td>
</tr>
<tr>
<td height="39">所屬類別:</td>
</tr>
<tr>
<td height="53">商品描述:</td>
<td><textarea name="productDetail"></textarea></td>
</tr>
<tr>
<td>商品進貨價</td>
<td> </td>
</tr>
<tr>
<td>商品出售價:</td>
<td><input type="text" name="productPrice"></td>
</tr>
<tr>
<td>商品庫存:</td>
<td><input type="text" name="productAmount"></td>
</tr>
<tr>
<td>商品圖片:</td>
<td><input type="file" name="productPhoto"></td>
</tr>
<tr>
<td>商品狀態:</td>
<td><input type="radio" name="productState" value="up">
上架
<input type="radio" name="productState" value="down">
下架</td>
</tr>
<tr>
<td>進貨時間:</td>
<td><input type="text" name="productPrice2"></td>
</tr>
<tr>
<td>熱銷度:</td>
<td><input type="checkbox" name="checkbox" value="checkbox">
熱銷
<input type="checkbox" name="checkbox2" value="checkbox">
中等
<input type="checkbox" name="checkbox3" value="checkbox">
淡季</td>
</tr>
<tr>
<td>已售量:</td>
<td><input type="text" name="productPrice3"></td>
</tr>
<tr>
<td colspan="2"><div align="center">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="reset" value="重置">
</div></td>
</tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -