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

📄 index.jsp

📁 整个程序是struts1.2的版本构架
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*"  %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>用户留言</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="images/defult.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3314" name=GENERATOR></HEAD>
<BODY bgColor=#3399ff leftMargin=0 topMargin=0>
<DIV align=center>
<TABLE id=AutoNumber7 style="BORDER-COLLAPSE: collapse" borderColor=#111111 
cellPadding=0 width=778 border=0>
  <TBODY>
  <TR>
    <TD width="100%"><IMG height=111 src="images/logo21.gif" width=778 
      border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=778 border=0>
  <TBODY>
  <TR>
    <TD width=769>
      <TABLE cellSpacing=0 cellPadding=0 width=778 bgColor=#ffffff border=0>
        <TBODY>
        <TR>
          <TD></TD></TR>
        <TR>
          <TD class=title_001 align=middle background=images/navbar.gif 
          height=42>
            <TABLE style="FONT-SIZE: 10pt; BORDER-COLLAPSE: collapse" height=30 
            cellPadding=0 width=778 border=0>
              <TBODY>
              <TR>
                <TD vAlign=top background="" colSpan=2>
              <TR>
                <TD style="BORDER-BOTTOM: #c0c0c0 1px solid" width=23> </TD>
                <TD style="BORDER-BOTTOM: #c0c0c0 1px solid" width=755>当前位置:首页 
                  &gt;&gt;<font color="#ff0000">用户留言</font></TD>
              </TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD class=title_001 align=middle height=34><FONT 
            color=#ff0000><B>用户留言</B></FONT></TD>
        </TR>
        <TR>
          <TD>
            <HR width="100%" SIZE=1>
          </TD></TR>
        <TR>
          <TD vAlign=top align=left>
            <TABLE cellSpacing=0 cellPadding=0 width="90%" align=center 
border=0>
              <TBODY>
              <TR>
                <TD class=neirong_001 vAlign=top height=300>
                  <P style="LINE-HEIGHT: 150%"><FONT face=宋体>
                  <c:forEach items="${requestScope.guest}" var="s">
                  <!--代码开始-->
                   <table width="99%" border="1" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="140" align="center" valign="top" bgcolor="#CCCCCC" ><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height=20></td>
            </tr>
          </table>
            <img src="images/${s.face }.gif" width="72" height="72"><br>
            <br>
            ${s.name }&nbsp;</td>
        <td valign="top"><table width="100%" border="0" align="center" cellpadding="1" cellspacing="3">
            <tr>
              <td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#999999">
                  <tr>
                    <td bgcolor="#FFFFFF"><table width="100%" height="24" border="0" cellpadding="0" cellspacing="0" bgcolor="#f5f5f5">
                        <tr>
                          <td width="50%" bgcolor="#CCCCCC">&nbsp;标题:${s.usertitle }&nbsp;</td>
                          <td width="50%" bgcolor="#CCCCCC"><div align="right"><a href="mailto:${s.mail }" target="_blank"><img src="images/email.gif" width="18" height="18" border="0" align="absmiddle" alt="电子邮件:[ ${s.mail } ]"></a> | <a href="#"><img src="images/qq-gray.gif" width="16" height="16" border="0" align="absmiddle" alt="QQ号码:${s.qq }"></a>&nbsp; </div></td>
                        </tr>
                    </table></td>
                  </tr>
              </table></td>
            </tr>
          </table>
            <table width="100%" height="100%" border="0" cellpadding="1" cellspacing="5">
              <tr>
                <td bgcolor="#999999"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td bgcolor="#CCCCCC"><fieldset style="width:100%;" align="center;">
                        <legend> &nbsp;<strong>留言内容: </strong></legend>
                        <table width="100%" border="0" cellspacing="4" cellpadding="0">
                          <tr>
                            <td height="60">${s.content }</td>
                          </tr>
                        </table>
                      </fieldset></td>
                    </tr>
                  </table>
                    <div align="right">发表时间: ${s.mydate } &nbsp; </div></td>
              </tr>
          </table></td>
      </tr>
      <c:if test="${!empty s.recontent}">
      
      <tr>
        <td height="30" align="center" bgcolor="#cccccc" ><font color=red>齐鹏回复:</font></td>
        <td bgcolor="f5f5f5"><table width="100%" border="0" cellpadding="0" cellspacing="4" bgcolor="#cccccc">
            <tr>
              <td bgcolor="#CCCCCC"><font color=red>${s.recontent }</font></td>
            </tr>
        </table></td>
      </tr>
      </c:if>
      <tr bgcolor="#cccccc">
        
      </tr>
      
    </table>
    </c:forEach>
                <!--结束-->  
                  <BR>
                  </FONT></P></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width="90%" align=center 
border=0>
              <TBODY>
             
                <TD class=neirong_001 align=middle>
                  <DIV align=center>【<A href="index.jsp"><FONT 
                  color=#000000>返回主页</FONT></A>】 【<A 
                  href="javascript:window.close()"><FONT 
                  color=#000000>关闭窗口</FONT></A>】</DIV></TD></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width="90%" align=center 
border=0>
              <TBODY>
              <TR>
                <TD vAlign=top height=50></TD>
              </TR></TBODY></TABLE></TD></TR></TABLE></TD></TR></TBODY></TABLE></DIV>
<DIV align=center>
<TABLE style="FONT-SIZE: 9pt" height=166 cellSpacing=0 cellPadding=0 width=778 
border=0>
  <TBODY>
  <TR>
    <TD align=middle bgColor=#4b4b4b height=2></TD></TR>
  <TR>
    <TD align=middle bgColor=#d9d9d9 height=5></TD></TR>
  <TR>
    <TD vAlign=top align=middle bgColor=#efefef height=159>
      <TABLE style="FONT-SIZE: 9pt" cellSpacing=0 cellPadding=0 width=658 
      align=center border=0>
        <TBODY>
        <TR>
          <TD style="BORDER-BOTTOM: #b7b7b7 1px dotted" height=42>
            <DIV class=song12b align=center>
            <P style="MARGIN-TOP: 8px"><SPAN style="CURSOR: hand" 
            onclick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.jxmkaqjc.gov.cn');">设为首页</SPAN> | <A 
            style="COLOR: black; TEXT-DECORATION: none" 
            href="javascript:window.external.addFavorite('http://www.jxmkaqjc.gov.cn','江西煤矿安全监察局');"> 
            加入收藏</A> | <A style="COLOR: black; TEXT-DECORATION: none" 
            href="http://www.jxmkaqjc.gov.cn/2006-12/20061212115609.htm" 
            target=_blank>网站导航</A> | <A 
            style="COLOR: black; TEXT-DECORATION: none" 
            href="http://www.jxmkaqjc.gov.cn/2006-12/20061212120055.htm" 
            target=_blank>使用帮助</A> | <A 
            style="COLOR: black; TEXT-DECORATION: none" 
            href="http://www.jxmkaqjc.gov.cn/2006-12/20061212115741.htm" 
            target=_blank>常见问题</A> | <A 
            style="COLOR: black; TEXT-DECORATION: none" 
            href="http://www.jxmkaqjc.gov.cn/2006-12/20061212120226.htm" 
            target=_blank>隐私声明</A> | <A 
            style="COLOR: black; TEXT-DECORATION: none" 
            href="mailto:HUANGHAITAO_1015@163.COM">联系我们</A> </P></DIV></TD></TR>
        <TR>
          <TD>
            <DIV align=center><BR><FONT 
            color=#000000> </FONT><SPAN 
            class=song12b 
            style="LINE-HEIGHT: 200%"><span style="LINE-HEIGHT: 150%">齐鹏网络版权所有<BR>
地址:吉林省吉林市北华大学 
             
            邮编:132021<BR>
E_mail:qipeng119@126.com<BR>
1024*768分辨率,16位以上颜色,IE5.0以上版本浏览器</span><BR> </SPAN></DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

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