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

📄 press_list02.jsp

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

<jsp:include page="../user/checklogin02.jsp" flush="true"/>
<jsp:include page="../header/header.jsp" flush="true"/>
<!--<jsp:include page="../user/checklogin.jsp" flush="true"/>-->
<%@ page contentType="text/html;charset=gb2312" %>

<SCRIPT language=javascript>
 var isSure=false;
function OpenWin(theURL,winName,features)
{
  window.open(theURL,winName,features);
}

function toOpen(str)
{
  
	if(str!='')
  { 
    OpenWin('../index/press_update.jsp?ID='+str,'newWin','scrollbars=no,width=500,height=400');
  }
  else
  {
    alert("不能得到ID!");
    return false;
  }
  
}

function Open()
{

    OpenWin('../index/press_insert.jsp','newWin','scrollbars=no,width=500,height=400');

}



</SCRIPT>

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

      
      

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

        <TR>
          <TD height=23>

<%@ page import="foton.util.*" %>
<%@ page import="foton.index.*" %>
<%@ page import="java.util.*" %>
<h2 align="center">招聘动态信息管理 </h2>
<form name=form1 action="../index/pressServ.jsp" method="post">

<table width=70% border=0 cellpadding="3" cellspacing="1" align="center">
   <tr bgcolor=#8899cc>
     <td>  </td>
    <td> 编号 </td>
   <td> 标题</td>
    <td> 操作</td>
   </tr>

<% Condition condition = new Condition();
  int pageNum = 10;
  int currPage;
  String url = "../index/press_list.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 n=1;

  Iterator it = list.iterator();
  while (it!=null && it.hasNext()) {
    pressInfo info = (pressInfo)it.next();
%>
<tr bgcolor=#ffffff>
  <td> <input type="checkbox" name="check" value='<%=info.getID()%>'> </td>
<td> <%=n%> </td>
<td> <%=info.getCaption()%></td>
<td> <a href ="../index/press_update.jsp?ID=<%=info.getID()%>") target="_self">修改 </a> </td>
</tr>
	
<%  n++; } %>





</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 >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type=submit name="action" value="增加" >&nbsp;&nbsp;
<input type=submit name="action" value="删除"></div>
<div >&nbsp;&nbsp;&nbsp;&nbsp;</div>
</form>

</TD></TR></TABLE></TBODY></TABLE><!-- #BeginLibraryItem "/Library/zhu_copyright.lbi" -->                

<TABLE cellSpacing=0 cellPadding=0 width=767 background=foton.files/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 -->

⌨️ 快捷键说明

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