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

📄 morepress.jsp

📁 这个是j2eejava web 编程精要十五讲的全部源码。对学习java web编程的人来说是很能得的资料
💻 JSP
字号:

<jsp:include page="../header/header.jsp" flush="true"/>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ page contentType="text/html;charset=gb2312" %>

<%@ page import="foton.util.*" %>
<%@ page import="foton.index.*" %>
<%@ page import="java.util.*" %>


<script language="javascript">
function openWin(para) {
window.open('../index/press.jsp?ID='+para,'','scrollbars=yes,width=617,height=450')
}
</script>


<TABLE cellSpacing=0 cellPadding=0 width=758 border=0 bgcolor=#ffffff>
  <TBODY>
  <TR>
    <TD vAlign=top width=156 background=../../images/qy_n1_bj.gif><IMG height=44 
      src="../../images/pressCenter.jpg" width=95>

	  </TD>

    <TD width=672>
      <TABLE height=1 cellSpacing=0 cellPadding=0 width=538 border=0 >
        <TBODY>
        <TR>
          
		  <TD vAlign=bottom colSpan=2 height=43> </TD></TR>                                                  
        <TR>
          <TD width=40 height=45 rowSpan=2><IMG height=43 
            src="../../images/qy_1_0.gif" width=40></TD>
          <TD vAlign=top width=498 height=15><IMG height=1 
            src="../../images/qy_1.gif" width=498></TD></TR>
        <TR>
          <TD vAlign=top width=498 height="30"></TD></TR></TBODY></TABLE>


      <TABLE cellSpacing=1 cellPadding=3 width=672 border=0 bgcolor=#ffffff>
        <TBODY>
   
	

	<tr><td> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>

     <tr>
	 <td width=398>
	 <Table width=100% border=0 valign=top>
	<tr><td width=5>&nbsp;&nbsp;&nbsp;&nbsp;</td>
	<td  valign=middle height=21 width=393>
			 <TABLE cellSpacing=0 cellPadding=0 width=391 
            background=../pic/qy_n2_3_bj.jpg border=0>
              <TBODY>
              <TR>
                <TD width=31><IMG height=21 
                  src="../pic/qy_n2_3_1.gif" width=17></TD>
                <TD width=330 >&nbsp;&nbsp;<B>招聘动态</B></TD>
                <TD align=right width=30><IMG height=21 
                  src="../pic/qy_n2_3_2.gif" 
              width=11></TD></TR></TBODY></TABLE>
			 </td></tr>
<tr><td colspan=2> &nbsp;&nbsp;</td></tr>
<tr><td colspan=2> &nbsp;&nbsp;</td></tr>
             
			 <% Condition condition = new Condition();
  int pageNum = 20;
  int currPage;
 String url = "../index/morePress.jsp";

   if (request.getParameter("pages")==null) {
     currPage =0;
   }
   else {
        currPage = new Integer(request.getParameter("pages")).intValue();
   }

    condition.setPageNum(pageNum);
    condition.setCurrPage(currPage);


  // ArrayList list = (ArrayList)session.getAttribute("result");
     
	 pressDAO dao = new pressDAO();

     ArrayList list = dao.getPress(condition);
     
	 int m= list.size();
	 System.out.println("list.size()="+m);

  Iterator it = list.iterator();
 
  while (it!=null && it.hasNext()) {
	  
    pressInfo info = (pressInfo)it.next();
%>
<tr >
 <td width=5>&nbsp;&nbsp;&nbsp;&nbsp;</td>
	

<td width=393> <img src="../pic/qy_3_02.gif"> <a href="javascript:openWin('<%=info.getID()%>');"><%=info.getCaption()%>&nbsp;&nbsp;&nbsp;&nbsp;[<%=info.getStoreDate()%>]</a></td>

</tr>
	
<% } 
 
%>

</table>
</td>

<td width=200>
<Table width=100% border=0 valign=top>
<tr width=100% height=50><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
<tr width=100% ><td><img src="../../images/frms/bj04.jpg" border=0 width=200 height=140>
</td></tr>
</table>
</td>
</tr>

<tr><td> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
	<tr><td> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
		  
		  </tbody></TABLE>

		  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<%=Pagination.getPaginationScript(condition.getCurrPage(),condition.getPageNum(),condition.getRecordNum(),url)%>

<div >&nbsp;&nbsp;&nbsp;&nbsp;</div>
<div align=center >
<input type=button name="but1" value="关闭窗口" onclick="window.close();"></div>
<div >&nbsp;&nbsp;&nbsp;&nbsp;</div>
</td></tr></tbody></table>


<TABLE cellSpacing=0 cellPadding=0 width=767 background="../../images/d_1_bj.gif"
border=0>
  <TBODY>
  <TR>
    <TD width=124><IMG height=19 src="../../images/d_1.gif" width=124></TD>
    <TD width=643><FONT color=#cccccc>北汽福田汽车股份有限公司 版权所有 &copy;                                                                                                    
  2004</FONT></TD></TR></TBODY></TABLE><!-- #EndLibraryItem -->

  </body></html>


⌨️ 快捷键说明

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