?? show_line.jsp
字號(hào):
<%@ page contentType="text/html; charset=GBK" %>
<%@ page language="java" import="tour_lines.line"%>
<%@ page language="java" import="java.util.*"%>
<%@ page language="java" import="java.io.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>五十里旅行社--查詢結(jié)果</title>
<script language="javascript">
function guanbi() {
window.close('show_line.jsp')
}
</script>
</head>
<jsp:useBean id="j" scope="application" class="jdbc.jdbc"/>
<jsp:useBean id="s" scope="application" class="tour_lines.show_line"/>
<body topmargin="0">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="F0F7FF">
<!--DWLayoutTable-->
<tr>
<td height="160" colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="760" height="150"><img src="image/biaoti.jpg" width="760" height="160"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="407" colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="760" height="30" valign="top"><table width="100%" border="1" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td height="28"><div align="center">旅游線路查詢結(jié)果</div></td>
</tr>
</table></td>
</tr>
<%
String line_name=new String(request.getParameter("tour_line_name").getBytes("ISO8859_1"), "GBK");
s.tour_line_name=line_name;
s.con=j.getConnection();
Collection tcol=s.show();
Iterator it=tcol.iterator();
while(it.hasNext())
{
line li=(line)it.next();
%>
<tr>
<td><div align="center"><a href="line_intro.jsp?title=<%=li.getTour_line_name()%>" target="_blank">
<%out.print(li.getTour_line_name());%>
</a> </div></td>
</tr>
<%
it.remove();
}
j.releaseConnection(s.con);
%>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td width="758" height="40"> <div align="right">
<form name="form1" method="post" action="">
<input type="button" name="Submit" value="關(guān)閉" onClick="guanbi()">
</form>
</div></td>
<td width="2"></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -