head_discussform.jsp~5~

来自「一、数据库登录名:blog 密码:blog 二、首页应该运行log.jsp页面」· JSP~5~ 代码 · 共 38 行

JSP~5~
38
字号
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="java.util.ArrayList" %>
<html>
<head>
<title>
head_discussForm
</title>
</head>
<jsp:useBean id="operation" scope="session" class="OperationDB.operation">
</jsp:useBean>
<body bgcolor="#ffffff">
<%
ArrayList list=operation.finddiscussid(Integer.parseInt(request.getParameter("id")));
   for(int i=0;i<list.size();i++){
     ActionForm.discussActionForm daf=(ActionForm.discussActionForm)list.get(i);


%>
<table width="373" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="21" align="right"><%out.println("<p align=left>&nbsp;&nbsp;&nbsp;&nbsp;<img src='myimage/icon.gif' width=10 height=10 alt=''>"+daf.getDiscussTitle()+"</p>");%></td>
  </tr>
</table>
	  <table width="373" border="1" cellpadding="1" cellspacing="1" >
        <tr>
          <td valign="top" ><%=daf.getDiscussContent()%></td>
        </tr>
</table>
<%}%>
	  <table width="373" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="48" align="right"><div align="center"><a href="#" onclick="javascript:history.go(-1);"><img src="myimage/back.gif" width="51" height="20" alt=""></a></div></td>
        </tr>
      </table>

</body>
</html>

⌨️ 快捷键说明

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