📄 qygetresume_jsp.java
字号:
package org.apache.jsp.manager;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import com.j2ee.func.reg.resume.Resumebaseinfo;
import java.util.Vector;
import com.j2ee.func.qzzp.*;
public final class qygetresume_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n\r\n\r\n\r\n");
Vector vct=(Vector)request.getAttribute("vct");
String counts=(String)request.getAttribute("count");
String pagesizes=(String)request.getAttribute("pagesize");
String pagenos=(String)request.getAttribute("pageno");
int count=Integer.parseInt(counts);
int pagesize=Integer.parseInt(pagesizes);
int pageno=Integer.parseInt(pagenos);
out.write("\r\n\r\n\r\n\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<title>无标题文档</title>\r\n<link href=\"css/indexcss.css\" rel=\"stylesheet\" type=\"text/css\">\r\n</head>\r\n\r\n<body>\r\n<table width=\"700\" border=\"0\" align=\"center\" cellspacing=\"0\">\r\n <tr>\r\n <td width=\"817\" height=\"34\">提示:你已收到了<font color=\"#FF0000\">");
out.print(count);
out.write("</font>个简历\r\n 收到的简历按职位排序 </td>\r\n </tr>\r\n</table>\r\n<table width=\"700\" border=\"1\" align=\"center\" bordercolor=\"#9BD7FF\" bgcolor=\"#9BD7FF\">\r\n <tr>\r\n <td width=\"92\" align=\"center\">姓名</td>\r\n <td width=\"133\" align=\"center\">应聘职位</td>\r\n <td width=\"140\" align=\"center\">毕业学校</td>\r\n <td width=\"114\" align=\"center\">毕业专业</td>\r\n <td width=\"87\" align=\"center\">工作经验</td>\r\n <td width=\"108\" align=\"center\">是否符合条件</td>\r\n <td width=\"108\" align=\"center\">操作</td>\r\n </tr>\r\n</table>\r\n<table width=\"700\" border=\"1\" align=\"center\" cellspacing=\"0\" bordercolor=\"#9BD7FF\">\r\n ");
if(vct.isEmpty()){
out.write("\r\n 你还没有发布职位\r\n ");
}
out.write("\r\n ");
int positioni=0;
String colorp="#ffffff";
while(positioni<vct.size()){
Resumebaseinfo pi=(Resumebaseinfo)vct.elementAt(positioni);
if(positioni%2!=0){colorp="#E6F2FF";}
out.write("\r\n <tr bgcolor=\"");
out.print(colorp);
out.write("\">\r\n <td width=\"82\" align=\"center\"><a href=\"resumedetail?username=");
out.print(pi.getUsername());
out.write('"');
out.write('>');
out.print(pi.getRealname());
out.write("</a></td>\r\n <td width=\"117\" align=\"center\"><a href=\"qyallposition?type=edit&id=");
out.print(pi.getPositionid() );
out.write("&pageno=");
out.print(pageno);
out.write('"');
out.write('>');
out.print(pi.getPositionname() );
out.write("</a></td>\r\n <td width=\"119\" align=\"center\">");
out.print(pi.getGraduatesch() );
out.write("</td>\r\n <td width=\"98\" align=\"center\">");
out.print(pi.getGraduatepro() );
out.write("</td>\r\n <td width=\"80\" align=\"center\">");
out.print(pi.getWorkexper());
out.write("</td>\r\n ");
String usergrname=pi.getUsername();//得到个人有用户名;
int id=pi.getPositionid(); // 职位的id;
String userqyname=(String)session.getAttribute("username");//得到企业用户名
PositionResumeFunc prf=new PositionResumeFunc(usergrname,id,userqyname);
String isfit=prf.isFitforPosition();
if(isfit.equals("")){
isfit="符合";}
out.write("\r\n <td width=\"92\" align=\"center\">");
out.print(isfit);
out.write("</td>\r\n <td width=\"98\" align=\"center\"><a href=\"qygetresservlet?type=delete&id=");
out.print(pi.getPoreid());
out.write("&pageno=");
out.print(pageno);
out.write("\">删除</a></td>\r\n </tr>\r\n ");
positioni++;
colorp="ffffff";}
out.write("\r\n</table><form action=\"qygetresservlet?type=get\" method=\"post\" name=\"myform\">\r\n<table width=\"800\" border=\"0\">\r\n <tr>\r\n <td width=\"68\"> </td>\r\n <td width=\"55\"> </td>\r\n <td width=\"548\">\r\n ");
if (pageno==1){
out.write("\r\n <font color=\"#999999\">首页 上一页</font>\r\n ");
}else{
out.write("\r\n <a href=\"qygetresservlet?type=get&pageno=1\"> 首页</a> <a href=\"qygetresservlet?type=get&pageno=");
out.print(pageno-1);
out.write("\">\r\n 上一页</a>\r\n ");
}
if(pageno==(count%pagesize==0?count/pagesize:count/pagesize+1)){
out.write("\r\n <font color=\"#999999\">下一页 末页</font>\r\n ");
}else{
out.write("\r\n <a href=\"qygetresservlet?type=get&pageno=");
out.print(pageno+1);
out.write("\"> 下一页</a> <a href=\"qygetresservlet?type=get&pageno=");
out.print(count/pagesize+1);
out.write("\">\r\n 末页</a>\r\n ");
}
out.write("\r\n 当前页\r\n <input name=\"pageno\" type=\"text\" size=\"4\" value=\"");
out.print(pageno);
out.write("\">\r\n <input type=\"button\" value=\"go\" onclick=\"window.location='qygetresservlet?type=get&pageno='+myform.pageno.value\"/>\r\n 页数 ");
out.print(pageno);
out.write('/');
out.print(count%pagesize==0?count/pagesize:count/pagesize+1);
out.write(" 每页:");
out.print(pagesize);
out.write(" 总数:");
out.print(count);
out.write("</td>\r\n <td width=\"56\"> </td>\r\n <td width=\"51\"> </td>\r\n </tr>\r\n</table>\r\n</form>\r\n</body>\r\n</html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -