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

📄 job_query.jsp

📁 这个是j2eejava web 编程精要十五讲的全部源码。对学习java web编程的人来说是很能得的资料
💻 JSP
字号:
<jsp:include page="../header/header.jsp" flush="true"/>
<%@ page contentType="text/html;charset=gb2312" %>
<TABLE cellSpacing=0 cellPadding=0 width=758 bgColor=#ffffff border=0>
  <TBODY>
  <TR>
    <TD vAlign=top width=156 background=foton.files/qy_n1_bj.gif><IMG height=44 
      src="../images/qy_2_1_01.gif" width=95>

      <a href="../Common/strategy.jsp">

      <img border="0" src="../pic/strategy_h.jpg" width="92" height="20"></a><br> 
      <a href="../Common/recruit_campus_job.jsp"> 
      <img border="0" src="../pic/recruit_campus_job_h.jpg" width="92" height="20"></a><br>
      <a href="../Common/job_select.jsp">
      <img border="0" src="../pic/job_select_h.jpg" width="92" height="20"></a><br>
      <a href="../Common/talent.jsp">
      <img border="0" src="../pic/talent_h.jpg" width="92" height="20"></a><br>
      
      <img border="0" src="../pic/job_query.jpg" width="92" height="20"><br>
      <a href="job_insert.jsp">
      <img border="0" src="../pic/job_insert_h.jpg" width="92" height="20"></a><br>
      <a href="resume_query.jsp">
      <img border="0" src="../pic/resume_query_h.jpg" width="92" height="20"></a><br>
      <a href="resume_statistice.jsp">
      <img border="0" src="../pic/resume_statistice_h.jpg" width="92" height="20"></a><br>
      <a href="resume_query.jsp">
      <img border="0" src="../pic/resume_query_k_h.jpg" width="92" height="20"></a><br>
      <a href="user_insert.jsp">
      <img border="0" src="../pic/user_insert_h.jpg" width="92" height="20"></a><br>
      <a href="password_update.jsp">
      <img border="0" src="../pic/password_update_h.jpg" width="92" height="20">
        
      

      </a>
        
      

    </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><IMG height=43 
            src="../images/qy_1_0.gif" width=40></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.job.*"%>
<%@ page import="java.util.*" %>
<h1 align="center">职位管理 </h1>
<form  method="post" action="job_query.jsp">

  <table width="100%" border="1">
    <tr>
      <td>
        <div align="right">职位类型:</div>
      </td>
      <td>
        <input type="text" name="jobType">
      </td>
      <td>
        <div align="right">招聘部门:</div>
      </td>
      <td>
        <input type="text" name="deptName">
      </td>
    </tr>
    <tr>
      <td>
        <div align="right">发布时间:</div>
      </td>
      <td>
        <input type="text" name="jobIssueDate">
      </td>
      <td>&nbsp;</td>
      <td>
        <input type="submit" name="Submit" value="查询">
      </td>
    </tr>
  </table>
</form>

<table width=100% border=0>
   <tr>
     <td>  </td>
	 <td> 职位编号</td>
    <td> 职位名称 </td>
   <td> 招聘部门</td>
   <td> 职位性质</td>
     <td> 发布时间</td>
    <td> 操作</td>
   </tr>

<% Condition condition = new Condition();
  int pageNum = 10;
  int currPage;
  String url = "job_query.jsp";

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

  System.out.println("Here is currPage!");

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

  // ArrayList list = (ArrayList)session.getAttribute("queryResult");
     jobDAO dao = new jobDAO();

     ArrayList list = dao.getJob(condition);

   System.out.println("Here is arraylist!");

  Iterator it = list.iterator();
 System.out.println("Here is iterator!");
  while (it!=null && it.hasNext()) {
    jobInfo info = (jobInfo)it.next();
System.out.println("Here is next()!");
%>

<tr>
  <td> <input type="checkbox" name="check" value="<%=info.getJobID()%>"> </td>
	<td> <%=info.getJobID()%> </td>
<td> <%=info.getJobName()%> </td>
<td> <%=info.getDeptName()%> </td>
	<td> <%=info.getJobNature()%> </td>
<td> <%=info.getJobIssueDate()%> </td>

<td> <a href ="job_display.jsp?jobID=<%=info.getJobID()%>" target="_blank">查看 </a>
   &nbsp;&nbsp;&nbsp;
    <a href ="job_update.jsp?jobID=<%=info.getJobID() %>" target="_self">修改 </a>
	</td>
</tr>
<%  } %>

<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>

</table>

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


<tr>
<td> </td>
<td> </td>
<td> </td>
<td> <input type="button" value="删除" name="del"></td>
<td> <input type="button" value="刷新" name="refresh" align="left"></td>
<td> </td>
</tr>

</table>



          </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 + -