?? 90b08154b784001d112d930a936cdffe
字號:
<%@ page language="java" import="java.util.*" import=java.sql.ResultSet 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 'memo.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>
<center>
備忘錄<hr>
<form action="./memo" method="POST">
請輸入查詢內容:<input type="text" name="keyword">
<input type="submit" value="查詢">
</form>
<table border="1">
<tr><td width="150px" align="center">標題</td><td width="150px" align="center">時間</td><td width="150px" align="center">內容</td></tr>
<%ResultSet rs=(ResultSet)request.getAttribute("r");
while(rs.next()){ %>
<%} %>
</table>
</center>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -