?? uploadbook.jsp
字號(hào):
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%
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 'UpLoadBook.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.css">
-->
</head>
<body>
<form action="/BookShop/Servlet/UpLoadServlet" method = "post" enctype = "multipart/form-data">
<table width="390" height="366">
<tr>
<td colspan="2" align="center">上傳圖書信息</td>
</tr>
<tr>
<td >圖書名*:</td>
<td><input type = "text" name = "bookname" ></input></td>
</tr>
<tr>
<td >作者*:</td>
<td><input type="text" name = "author"></td>
</tr>
<tr>
<td >價(jià)格*:</td>
<td><input type = "text" name = "price"></td>
</tr>
<tr>
<td >打折:</td>
<td>
<input type = "text" name = "discount">
</td>
</tr>
<tr>
<td >出版社:</td>
<td><input type = "text" name = "press"></td>
</tr>
<tr>
<td >數(shù)量:</td>
<td><input type = "text" name = "sum"></td>
</tr>
<tr>
<td >圖書封面:</td>
<td><input type = "file" name = "picture" value=""></td>
</tr>
<tr>
<td ><input type="submit" name="submit" value="submit"></td>
<td><input type="reset" name="reset" value="reset"></td>
</tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -