reply.jsp
上传用户:manager48
上传日期:2022-07-31
资源大小:997k
文件大小:2k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" >
  3. <%@page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  4. <head>
  5. <title>回复留言 - WMgbook 1.0</title>
  6. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  7. <link rel="stylesheet" type="text/css" href="images/web.css" />
  8. </head>
  9. <jsp:useBean id="jezz_mj_reply" scope="page" class="wm.bean.DB" />
  10. <body>
  11. <%
  12.   String id=request.getParameter("id");
  13.   String content="";
  14.   ResultSet rs=null;
  15.   String sql="select content from liuyan_temp where id='"+id+"'";
  16.   rs=jezz_mj_reply.executeQuery(sql);
  17.   rs.next();
  18.   content=rs.getString("content");
  19.   jezz_mj_reply.all_close();
  20. %>
  21. <div id="wrapper">
  22.   
  23.       <div id="header">
  24.         
  25.           <div id="logo"><img src="images/logo.gif" alt="网盟留言本" /></div>
  26.           <div id="blog-header">
  27.             <h1 class="blog-title"><a href="index.jsp">WMgbook 1.0</a></h1>
  28.             <div class="blog-desc">欢迎光临网盟留言本</div>
  29.           </div>
  30.           <div id="menu">
  31.             <ul>
  32.               <li><a href="index.jsp">留言首页</a></li>
  33.               <li><a href="new.jsp">签写留言</a></li>
  34.               <li><a href="http://www.wangmeng.cn" target="_blank">官方网站</a></li>
  35.             </ul>
  36.           </div>
  37.         </div><!--header -->
  38.       
  39. <form action="post" method="post" name="rform">
  40. <input name="id" type="hidden" value=<%=id%> />
  41.  <div id="mainWrapper">
  42.         <div id="content" class="content-wide">
  43.           
  44.             <div class="textbox">
  45.               <div class="textbox-title">
  46.                 <h4>回复留言</h4>
  47.               </div>
  48.               <div class="textbox-content"><li>留言内容:<textarea name="content" cols="40" rows="8"><%=content%></textarea></li>
  49.   <li>回复内容:<textarea name="content_reply" cols="40" rows="8"></textarea></li>
  50.   </div>
  51.    <div class="textbox-bottom">
  52.                 <input name="sumit" type="submit" value="提交" class="btn">
  53.               </div>
  54.   </div><!--textbox -->
  55.          
  56.         </div>
  57.       </div>
  58.       <div id="footer">
  59.         <div id="innerFooter">Powered by WMgbook 1.0&#8482; Copyright &copy;</div>
  60.       </div>
  61.   </div>
  62. </form>
  63. </body>
  64. </html>