- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
viewPro.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:5k
源码类别:
Applet
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="java.sql.*"%>
- <jsp:useBean id="useclassBeans" class="MyFly.Bean.useclassBeans" scope="request"/>
- <jsp:useBean id="useclassBean" class="MyFly.Bean.useclassBean" scope="request"/>
- <jsp:useBean id="characterclassBean" class="MyFly.Bean.characterclassBean" scope="request"/>
- <jsp:useBean id="characterclassBeans" class="MyFly.Bean.characterclassBeans" scope="request"/>
- <jsp:useBean id="productinfoBean" class="MyFly.Bean.productinfoBean" scope="request"/>
- <% request.setCharacterEncoding("gb2312");%>
- <%!
- String Zhuan(String str)
- {
- str=str.replaceAll("&", "&");
- str=str.replaceAll(""", """);
- str=str.replaceAll("<", "<");
- str=str.replaceAll(">", ">");
- return str;
- }
- %>
- <%
- String index=request.getParameter("index").replace(',', '#');
- productinfoBean.getNew(index);
- %>
- <script language="javascript" src="../js/column.js"></script>
- <STYLE type=text/css>
- BODY {
- BACKGROUND: #799ae1; FONT: 9pt 宋体; MARGIN: 0px
- }
- TABLE {
- BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px
- }
- TD {
- FONT: 12px 宋体
- }
- IMG {
- BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: bottom
- }
- A {
- COLOR: #000000; FONT: 12px 宋体; TEXT-DECORATION: none
- }
- A:hover {
- COLOR: #428eff; TEXT-DECORATION: underline
- }
- .sec_menu {
- BACKGROUND: #d6dff7; BORDER-BOTTOM: white 1px solid; BORDER-LEFT: white 1px solid; BORDER-RIGHT: white 1px solid; OVERFLOW: hidden
- }
- .menu_title {
- }
- .menu_title SPAN {
- COLOR: #215dc6; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
- }
- .menu_title2 {
- }
- .menu_title2 SPAN {
- COLOR: #428eff; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
- }
- .style1 {color: #FF0000}
- </STYLE>
- <script language="javascript" src="../js/column.js"></script>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>产品信息查看</title>
- </head>
- <body>
- <p>
- </p>
- <p> </p>
- <table width="528" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
- <tr align="center">
- <td height="23" colspan="2">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="79%" height="33" align="center"><span class="style1">产品信息查看</span></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr align="left">
- <td height="30">
- 产品编号: </td>
- <td width="72%" height="30"><%=index%></td>
- </tr>
- <tr align="left">
- <td height="30"> 产品名称: </td>
- <td height="30"><%=productinfoBean.getProductName()%></td>
- </tr>
- <tr align="left">
- <td height="30" > 性质类别: </td>
- <td height="30">
- <%
- if(characterclassBean.getNew(productinfoBean.getCharacterID()))
- {
- out.println(characterclassBean.getCharacterName());
- }
- else
- {
- out.print("-----");
- }
- %>
- </td>
- </tr>
- <tr align="left">
- <td height="30"> 用途类别:</td>
- <td height="30">
- <%
- if(useclassBean.getNew(productinfoBean.getUseclassID()))
- {
- out.println(useclassBean.getUseclassName());
- }
- else
- {
- out.print("-----");
- }
- %>
- </td>
- </tr>
- <tr align="left" valign="middle">
- <td height="30"> 市场价:
-
- </td>
- <td height="30"><%=productinfoBean.getMarketPrice()%>
- </td>
- </tr>
- <tr align="left">
- <td height="30"> 优惠价:
- </td>
- <td height="30"><%=productinfoBean.getPreferPrice()%>
- </td>
- </tr>
- <td height="30"> 精品推荐:
- </td>
- <td height="30">
- <%
- if(productinfoBean.getTuijian() == 1)
- {
- %>
- 是
- <%
- }
- else
- {
- %>
- 否
- <%
- }
- %>
- </td>
- <tr align="center">
- <td width="28%" height="79" valign="middle"> 产品说明:</td>
- <td align="left">
- <%=productinfoBean.getIntroduce()%>
- </td>
- </tr>
- <tr align="left">
- <td height="30" align="center"> 产品库存:</td>
- <td height="30"><%=productinfoBean.getStorage()%>
- </td>
- </tr>
- <tr align="center">
- <td height="26"> 产品大图片:</td>
- <td height="26" align="left">
- <img src="../../product_image/<%=productinfoBean.getMaxPicture()%>" width="120" height="129" border="0"></td>
- </tr>
- <tr align="center">
- <td height="44"> 产品小图片:<br></td>
- <td height="30" align="left"> <img src="../../product_image/<%=productinfoBean.getMinPicture()%>" width="125" height="119" border="0"></td>
- </tr>
- </table>
- <p> </p>
- </body>
- </html>