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

📄 employeenote.jsp

📁 基于struts的employee
💻 JSP
字号:
<%@ page contentType="text/html;charset=GBK" language="java" %>
<%@ page import = "StudyNote.*" %>
<%@ page import = "java.util.*" %>	
<%
	Vector v = (Vector)session.getAttribute(Constants.NOTE_LIST_KEY);
	Note note = null;
	Integer tpage=(Integer)session.getAttribute(Constants.CUR_PAGEID_KEY);
	int pageId=tpage.intValue();
	Integer tpageCount=(Integer)session.getAttribute(Constants.NOTE_PAGE_COUNT_KEY);
	int pageCount=tpageCount.intValue();
%>

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<LINK href="images/style.css" rel=stylesheet>
</head>

<body>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" bgcolor="#FFCC66">
  <tr>
    <td width="84%" bgcolor="#FFFFFF">
<p align="right" style="font-size: 10pt; line-height: 140%; border-left-color: black; border-right-color: black; border-top-color: #3333ff; border-bottom-color: black">
第<%=pageId+1%>頁,共<%=pageCount%>頁 </p>
<table cellSpacing="0" borderColorDark="#ffffff" cellPadding="0" width="100%" borderColorLight="#cccccc" border="1">
  <tr>
    <td align="middle" width="370" style="font-size: 10pt">
    <div align="center">
      <p style="font-size: 10pt; line-height: 140%; border-left-color: black; border-right-color: black; border-top-color: #3333ff; border-bottom-color: black">
      <font color="#cc6633">公告主题</font></div>
    </td>
    <td align="middle" width="75" style="font-size: 10pt">
    <div align="center">
      <p style="font-size: 10pt; line-height: 140%; border-left-color: black; border-right-color: black; border-top-color: #3333ff; border-bottom-color: black">
      <font color="#cc6633">通知人</font></div>
    </td>
    <td align="middle" width="122" style="font-size: 10pt">
    <div align="center">
      <p style="font-size: 10pt; line-height: 140%; border-left-color: black; border-right-color: black; border-top-color: #3333ff; border-bottom-color: black">
      <font color="#cc6633">通知时间</font></div>
    </td>
  </tr>

    <%if(v != null ){

       for(int i = 0;i < v.size();i++)
       {  
       		note = (Note)v.get(i);
       %>


  <tr>
    <td align="middle" width="370" style="font-size: 10pt">
    <p style="font-size: 10pt; line-height: 140%; border-left-color: black; border-right-color: black; border-top-color: #3333ff; border-bottom-color: black">
    <a href="noteDetail.do?noteId=<%=note.getId()%>"><%=note.getTitle()%></a></td>
    <td align="middle" width="75" style="font-size: 10pt">
    <p style="font-size: 10pt; line-height: 140%; border-left-color: black; border-right-color: black; border-top-color: #3333ff; border-bottom-color: black">
    <%=note.getTalker()%></td>
    <td align="middle" width="122" style="font-size: 10pt">
    <p style="font-size: 10pt; line-height: 140%; border-left-color: black; border-right-color: black; border-top-color: #3333ff; border-bottom-color: black">
    <%=note.getTime()%></td>
  </tr>
  

          <%
          }
       }
      %>
      
   </table>
<form name="sub" action="" method="post">
  <p style="font-size: 10pt; line-height: 140%; border-left-color: black; border-right-color: black; border-top-color: #3333ff; border-bottom-color: black">
 <a href="lookNote.do?pageId=<%=pageId-1%>">&lt;&lt;前一頁</a>&nbsp;<a href="lookNote.do?pageId=<%=pageId+1%>"> 下一頁&gt;&gt;</a>
  </p>
</form>
<P align=left><FONT size=2>&nbsp; </FONT></P>
    <p> </td>
  </tr>
</table>

</body>

</html>

⌨️ 快捷键说明

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