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

📄 produceinfo.jsp

📁 基于jsp+javabean的网上花店管理系统
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312"%>
<%@ page import="com.*,java.util.*,java.sql.*,java.io.*"%>
<jsp:useBean id="produceBean" class="com.ProduceBean" scope="session"/>
<jsp:useBean id="produceClass" class="com.ProduceClass" scope="session">
</jsp:useBean>

<%
String name=(String)session.getAttribute("name");

	
%>

<!-- saved from url=(0047)http://www.qdhua.com/gouwu.asp?action=show&lx=1 -->
<HTML><HEAD><TITLE>cart</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="cartImage.files/css.css" type=text/css rel=stylesheet>
<STYLE>
TD {
	FONT-SIZE: 9pt; COLOR: #353535; LINE-HEIGHT: 120%
}
BODY {
	FONT-SIZE: 9pt; LINE-HEIGHT: 120%
}
A:link {
	COLOR: #000000; TEXT-DECORATION: none
}
A:visited {
	COLOR: #000000; TEXT-DECORATION: none
}
A:active {
	COLOR: #000000; TEXT-DECORATION: none
}
A:hover {
	RIGHT: 0px; COLOR: #336699; POSITION: relative; TOP: 1px; TEXT-DECORATION: none
}
.white1 {
	FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: #ffffff
}
.blue1 {
	FONT-WEIGHT: bold; COLOR: #00addf
}
.blue2 {
	FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: #00addf
}
</STYLE>

<SCRIPT language=JavaScript type=text/JavaScript>
<!--



function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</SCRIPT>

<STYLE type=text/css>
A:link {
	FONT-SIZE: 9pt; TEXT-DECORATION: none
}
UNKNOWN {
	FONT-SIZE: 9pt; COLOR: #f51424
}
UNKNOWN {
	COLOR: #000000
}
UNKNOWN {
	FONT-SIZE: 9pt; COLOR: #000000
}
UNKNOWN {
	FONT-FAMILY: Arial, Helvetica, sans-serif
}
</STYLE>

<SCRIPT language=JavaScript type=text/JavaScript>
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</SCRIPT>

<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>



<BODY>
<TABLE cellSpacing=0 cellPadding=0 width=812 align=center bgColor=#ffffff 
border=0>
  <TBODY>
  <TR>
    <TD><IMG height=1 alt="" src="cartImage.files/spacer.gif" width=38 border=0></TD>
    <TD><IMG height=1 alt="" src="cartImage.files/spacer.gif" width=63 border=0></TD>
    <TD><IMG height=1 alt="" src="cartImage.files/spacer.gif" width=59 border=0></TD>
    <TD><IMG height=1 alt="" src="cartImage.files/spacer.gif" width=56 border=0></TD>
    <TD><IMG height=1 alt="" src="cartImage.files/spacer.gif" width=62 border=0></TD>
    <TD><IMG height=1 alt="" src="cartImage.files/spacer.gif" width=16 border=0></TD>
    <TD><IMG height=1 alt="" src="cartImage.files/spacer.gif" width=44 border=0></TD>
    <TD><IMG height=1 alt="" src="cartImage.files/spacer.gif" width=77 border=0></TD>
    <TD><IMG height=1 alt="" src="cartImage.files/spacer.gif" width=82 border=0></TD>
    <TD><IMG height=1 alt="" src="cartImage.files/spacer.gif" width=77 border=0></TD>
    <TD><IMG height=1 alt="" src="cartImage.files/spacer.gif" width=80 border=0></TD>
    <TD><IMG height=1 alt="" src="cartImage.files/spacer.gif" width=72 border=0></TD>
    <TD><IMG height=1 alt="" src="cartImage.files/spacer.gif" width=34 
  border=0></TD></TR>
  <TR>
    <TD colSpan=6 rowSpan=2><IMG height=79 alt="" 
      src="cartImage.files/title_r1_c1.gif" width=294 border=0 name=title_r1_c1></TD>
    <TD bgColor=#ffffff colSpan=7>
      <DIV align=right><A name=top></A><A 
      href="cart.jsp"><IMG height=20 
      src="cartImage.files/top_cart.gif" width=76 border=0></A> <A onfocus=this.blur() 
      href="checkMyInfo.jsp"><IMG height=20 
      src="cartImage.files/top_my.gif" width=76 border=0></A> <A onfocus=this.blur() 
      href="help.jsp"><IMG height=20 
      src="cartImage.files/top_faq.gif" width=76 border=0></A>  <A onfocus=this.blur() 
      href="../index.jsp?exit=yes"><IMG height=20 
      src="cartImage.files/top_wh.gif" width=76 border=0></A></DIV></TD></TR>
  <TR>
    <TD bgColor=#ffffff colSpan=7>
      <TABLE height=44 cellSpacing=0 cellPadding=0 width="61%" align=right 
      border=0>
        <TBODY>
          <TR>
            <TD>
              <DIV align=left>订花热线:0532-12345678</DIV></TD>
          </TR>
          <TR>
            <TD>
              <DIV align=left>订花 Q&nbsp;Q:12345678</DIV></TD>
          </TR>
        </TBODY>
      </TABLE></TD></TR>
  <TR>
    <TD><IMG height=27 alt="" src="cartImage.files/title_r2_c1.gif" width=38 
      border=0 name=title_r2_c1></TD>
    <TD><A href="../index.jsp"><IMG height=27 alt="" 
      src="cartImage.files/title_r2_c2.gif" width=63 border=0 name=title_r2_c2></A></TD>
    <TD colspan="11"><A href="produceInfo.jsp"><IMG height=27 
      alt="" src="cartImage.files/title_r2_c10.gif" width=77 border=0 
      name=title_r2_c10></A><A href="../tourist/language.jsp"><IMG height=27 alt="" 
      src="cartImage.files/title_r2_c11.gif" width=80 border=0 
    name=title_r2_c11></A><A href="../tourist/flowersLanguage.jsp"><IMG 
      height=27 alt="" src="cartImage.files/title_r2_c12.gif" width=72 border=0 
      name=title_r2_c12></A><IMG height=27 alt="" src="cartImage.files/title_r2_c13.gif" width=476 
      border=0 name=title_r2_c13></TD>
</TR></TBODY></TABLE>
<DIV align=left><BR></DIV>
<TABLE cellSpacing=1 cellPadding=2 width=812 align=center border=0>
  <TBODY>
  <TR>
    <TD width=397 height=40>
      <DIV class=blue2 align=center>
        <div align="left">以下为目前在本网站注册销售的企业名单:
        </div>
        <DIV align=left></DIV>
      </DIV></TD>
    <TD width=352>
<DIV align=center></DIV></TD></TR></TBODY></TABLE>
<table cellspacing=1 cellpadding=1 width=812 align=center bgcolor=#00addf 
border=0>
  <td width="33%"><form action="cart.jsp" method=get>
    <tbody>
      <tr bgcolor=#00addf>
        <td height=22 colspan="2" bgcolor=#00addf>
          <div class=white1 align=center>厂商号</div></td>
        <td width="36%" height=22>
          <div class=white1 align=center>厂商名</div></td>
        <td width="32%" class=white1><div align="center">查看厂商产品明细</div></td>
      </tr>
      <%	
	try
   {	
		int produceId;String produceName;

		Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
		Connection con=DriverManager.getConnection("jdbc:odbc:buyFlowers","sa","");
		
		
        Statement statement = con.createStatement();
        ResultSet rs = statement.executeQuery("select * from produce");
		
		//System.out.println(ordersId+"******2");
		while (rs.next())
		{
			produceId=rs.getInt(1);
			produceName=rs.getString(2);
		%>
      <tr bgcolor=#FFFFFF>
        <td colspan="2"><div align=center><%=produceId%></div></td>
        <td>
          <div align=center><%=produceName%></div></td>
        <td><div align=center><a href='produceDetails.jsp?produceId=<%=produceId%>' class="style5">点此查看</a></div></td>
      </tr>
      <%
	}
	rs.close();
	statement.close();
	
	}
	catch(Exception e)
	{
		e.printStackTrace();
	}
	
	
	%>
      <tr bgcolor=#ffffff>
        <td colspan=5 height=25> &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       <DIV align=center>
	 </DIV></TD></TR>
  <TR bgColor=#ebf9fd>
    <TD colSpan=5 height=36>
<DIV align=center></DIV></TD></TR><INPUT type=hidden 
  name=h_price></FORM>
  </TBODY>
</table>
<BR>


      <TABLE cellSpacing=0 cellPadding=0 width=812 align=center bgColor=#e0e0e0 
border=0>
  <TBODY>
  <TR>
<TD>&nbsp;</TD></TR></TBODY></TABLE>
      <table width=812 height="48" border=0 align=center cellpadding=0 cellspacing=0>
        <tbody>
          <tr>
            <td height="16" bgcolor=#f5f5f5><div align="center"><SPAN class=cfont><FONT 
                        color=#7f7f7f><B><A 
                        href="../admin/CheckLogin.jsp">管理员登陆</A></B></FONT></SPAN></div></td>
          </tr>
          <tr>
            <td height="31" bgcolor=#f5f5f5><div align="center">Copyright &copy;  All Rights Reserved </div></td>
          </tr>
        </tbody>
</table>
<p>&nbsp;</p>
</BODY></HTML>

⌨️ 快捷键说明

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