⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 note_reply2.jsp

📁 网站的实例
💻 JSP
字号:
<%@ include file="data.jsp"%>
<%@ include file="adm_login.jsp"%>
<html>
<head>
<title>留言管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/css1.css" rel="stylesheet" type="text/css">
</head>

<body>
<p align="center" class="title">留言管理 </p>
<p class="link"><a href="admin.jsp" class="link">返回管理中心</a></p>
<p class="link"><a href="note_reply.jsp" class="link">返回留言管理</a></p> 

<%
String id=request.getParameter("id");
String sql="SELECT * FROM notes WHERE note_id="+id; 
Rst=Stmt.executeQuery(sql);
Rst.next();
String user=Rst.getString("note_user");
String content=Rst.getString("note_content"); 
String time=Rst.getString("note_time");
content=new String(content.getBytes("GB2312"),"8859_1");  
%>
<table width="95%" height="59" border="1" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>留言号</td> 
    <td>用户名</td>
    <td>内容</td>  
    <td>时间</td>
  </tr>
  <tr>
    <td><%=id%></td>
    <td><%=user%></td>
    <td><%=content%></td>
    <td><%=time%></td>
  </tr> 
<%
Rst.close();
Stmt.close();
Conn.close();
%>
</table>
<p>回复:</p>
<form name="form" method="post" action="note_reply3.jsp?id=<%=id%>">
  <p>
    <textarea name="reply" cols="100" rows="2" id="reply"></textarea>
  </p>
  <p> 
    <input name="reply" type="submit" id="reply" value="回复">
  </p>
</form>
<p>&nbsp;</p>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -