productmarkeyEdit.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:3k
源码类别:
Applet
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="java.sql.* "%>
- <jsp:useBean id="productremarkBean" class="MyFly.Bean.productremarkBean" scope="request"/>
- <STYLE type=text/css>
- BODY {
- BACKGROUND: #799ae1; FONT: 9pt 宋体; MARGIN: 0px
- }
- TABLE {
- }
- TD {
- FONT: 12px 宋体;
- border-bottom-color: #CCFFFF;
- border-left-style: none;
- }
- 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
- }
- .style2 {color: #FF0000}
- </STYLE>
- <%
- String index=request.getParameter("index");
- if(productremarkBean.getNew(Integer.parseInt(index)) == false)
- {
- out.println("<Script language=JavaScript>alert('编辑出错');javascript:history.back();</Script>");
- }
- %>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>添加文章</title>
- </head>
- <body>
- <table width="93%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
- <form action="productmarkeyUpdate.jsp?index=<%=productremarkBean.getRemarkID()%>" method="post" name="addarticle" onSubmit = "">
- <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" class="style2">产品评论修改</td>
- </tr>
- </table>
- </td>
- </tr>
- <tr align="center">
- <td width="16%" height="32">产品编号</td>
- <td width="84%" align="left"> <input type="text" size="70" name="productID" value=<%=productremarkBean.getProductID()%>></td>
- </tr>
- <tr align="center">
- <td width="16%" height="32">评论标题</td>
- <td width="84%" align="left"> <input type="text" size="70" name="title" value=<%=productremarkBean.getTitle()%>></td>
- </tr>
- <tr align="center">
- <td height="195">评论内容</td>
- <td align="left">
- <textarea rows="12" name="content" cols="70"><%=productremarkBean.getContent()%></textarea></td>
- </tr>
- <tr align="center">
- <td height="28">评论时间<br></td>
- <td align="left"> <input type="text" size="35" name="origin" value=<%=productremarkBean.getAppendTime()%>> </td>
- </tr>
- <tr align="center">
- <td height="28"><br></td>
- <td align="left">
- <input type="reset" name="Submit" value="重置">
- <input type="submit" name="Submit" value="提交">
- </td>
- </tr>
- </form>
- </table>
- </body>
- </html>