⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 show_line.jsp

📁 是用jsp开发的旅游管理网站
💻 JSP
字号:
<%@ 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>五十里旅行社--查询结果</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">旅游线路查询结果</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="关闭" onClick="guanbi()">
        </form>
      </div></td>
    <td width="2"></td>
  </tr>
</table>
</body>
</html>

 



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -