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

📄 one_page.jsp

📁 FAQ管理全源代码
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="java.util.*,java.text.*" %>
<!--单个浏览-->
<html>
<head>
<jsp:include page="delete_page.htm"/>
<jsp:include page="search_page.jsp"/>
</head>
<jsp:useBean id="con" scope="request" class="faq_project.review_Bean" />
<body bgcolor="#ffffff">
<h1 align="center">
<%=session.getAttribute("qquestion")%>
</h1>
<div align="center">
  <table background="1.jpg" width="468" height="230" border="1">
    <tr> 
      <TD height="163" colSpan=3><%=session.getAttribute("aanswer")%> <div align="center"></div></TD>
    </tr>
    <tr> 
      <td width="69" height="17" colspan="1" bgcolor="#D7D7FF" scope="col">编号:</td>
      <td width="383" colspan="2"><%=session.getAttribute("iid")%></td>
    </tr>
    <tr> 
      <td bgcolor="#D7D7FF" height="17" colspan="1" scope="col">类型:</td>
      <td colspan="2"><%=session.getAttribute("ttype")%></td>
    </tr>
    <tr> 
      <td bgcolor="#D7D7FF" height="17" colspan="1" scope="col">修改日期:</td>
      <td colspan="2"><%=session.getAttribute("mmodify")%></td>
    </tr>
  </table>
  <%
  con.setQuestion(session.getAttribute("iid").toString());
  while(con.next()){
  Iterator rs=con.getLists().iterator();
  %>
  <br />
</div>
<div align="center">
  <table bgcolor="#CCCCCC" width="468" height="193" border="1">
    <tr> 
      <td width="98" height="22">发表者</td>
      <td width="354"><%=rs.next().toString()%></td>
    </tr>
    <tr> 
      <TD height="163" colspan="2"><%=rs.next().toString()%></TD>
    </tr>
  </table>
  <%}%>
  <a href="review_Page.jsp?id=<%=session.getAttribute("iid")%>">[我也要发表评论]</a> 
</div>
<hr />
<center><a href="index.jsp">Home</a>
</center>
</body>
</html>

⌨️ 快捷键说明

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