📄 xiugaiproduct.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="";
productBO bo = new productBO();
Vector vc = new Vector();
vc=bo.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 'xiugaiproduct.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 background="images/e.jpg" ><iframe height=0></iframe>
<CENTER>
<form action="servlet/xiugaiproduct?product_id=<%=bean.getProduct_id()%>" method="POST">
<table width="500">
<tr>
<td align="right">
产品编号:
</td>
<td>
<%=bean.getProduct_id()%>
</td>
</tr>
<tr>
<td align="right">
产品名称:
</td>
<td>
<input type="text" size="10" name="product_name" value="<%=bean.getProduct_name()%>">
</td>
</tr>
<tr>
<td align="right">
产品价格:
</td>
<td>
<input type="text" size="5" name="product_price" value="<%=bean.getProduct_price()%>">
</td>
</tr>
<tr>
<td align="right">
产品说明:
</td>
<td>
<textarea wrap="soft" name="product_content" rows="5" cols="30"><%=bean.getProduct_content()%></textarea>
</td>
</tr>
<tr>
<td align="right">
<input type="Submit" value="提交">
</td>
<td align="center">
<input type="Reset" value="重设">
</td>
</tr>
</table>
</form></CENTER>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -