📄 productxiangxi.jsp
字号:
<%@ page language="java" import="java.util.*,C03.BO.*,C03.VO.*"
pageEncoding="GB2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
String product_id = request.getParameter("product_id");
if (product_id == null)
product_id = "";
Vector vc = new Vector();
productBO pb = new productBO();
vc = (Vector) pb.returnproducte(product_id);
productBean bean = (productBean) vc.get(0);
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'productxiangxi.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 ><iframe height=0></iframe>
<CENTER>
<table width="850" align="center" border="0" bgcolor="">
<TR>
<TD colspan="2" height="112" valign="top">
<%@include file="top.inc"%>
</TD>
</TR >
<tr bgcolor="E1D1B7">
<td width="425" align="center">
产品编号:
</td>
<td width="429">
<%=bean.getProduct_id()%>
</td>
</tr>
<tr bgcolor="E1D1B7">
<td align="center" width="425">
产品名称:
</td>
<td>
<%=bean.getProduct_name()%>
</td>
</tr>
<tr bgcolor="E1D1B7">
<td align="center" width="425">
产品价格:
</td>
<td>
<%=bean.getProduct_price()%>
</td>
</tr>
<tr bgcolor="E1D1B7">
<td align="center" width="425">
产品说明:
</td>
<td>
<%=bean.getProduct_content()%>
</td>
</tr>
</table>
</CENTER>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -