?? action.jsp
字號(hào):
<tr>
<td height="35" background="../ima/bottom_bg.gif"><table width="110" height="35" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="../ima/bottom.gif" width="110" height="35"></td>
</tr>
</table></td>
</tr>
</table>
<!-- 新版表格結(jié)束 -->
</body>
</html>
<%
}
}
}
else if(action.equals("editing"))
{
String id = request.getParameter("id");
if(id == null || id.equals(""))
{
out.println("<script language=\"JavaScript\" type=\"text/javascript\">alert(\"Miss Job ID!\");window.location.href=\"list.jsp\";</script>");
}
String cop_name = request.getParameter("cop_name");
if(cop_name == null || cop_name.equals(""))
cop_name = "無";
else
cop_name = new String(cop_name.getBytes("ISO8859_1"));
String cop_mann = request.getParameter("cop_mann");
if(cop_mann == null || cop_mann.equals("") ||cop_mann.equals("no"))
cop_mann = "0";
else
cop_mann = new String(cop_mann.getBytes("ISO8859_1"));
String cop_cont = request.getParameter("cop_cont");
if(cop_cont == null || cop_cont.equals(""))
cop_cont = "無";
else
cop_cont = new String(cop_cont.getBytes("ISO8859_1"));
String cop_tel = request.getParameter("cop_tel");
if(cop_tel == null || cop_tel.equals(""))
cop_tel = "無";
else
cop_tel = new String(cop_tel.getBytes("ISO8859_1"));
String cop_mail = request.getParameter("cop_mail");
if(cop_mail == null || cop_mail.equals(""))
cop_mail = "無";
else
cop_mail = new String(cop_mail.getBytes("ISO8859_1"));
String cop_fax = request.getParameter("cop_fax");
if(cop_fax == null || cop_fax.equals(""))
cop_fax = "無";
else
cop_fax = new String(cop_fax.getBytes("ISO8859_1"));
String cop_addr = request.getParameter("cop_addr");
if(cop_addr == null || cop_addr.equals(""))
cop_addr = "無";
else
cop_addr = new String(cop_addr.getBytes("ISO8859_1"));
String cop_zip = request.getParameter("cop_zip");
if(cop_zip == null || cop_zip.equals(""))
cop_zip = "無";
else
cop_zip = new String(cop_zip.getBytes("ISO8859_1"));
String cop_www = request.getParameter("cop_www");
if(cop_www == null || cop_www.equals(""))
cop_www = "無";
else
cop_www = new String(cop_www.getBytes("ISO8859_1"));
String cop_desc = job.HtmlSpecialChars(request.getParameter("cop_desc"));
if(cop_desc == null || cop_desc.equals(""))
cop_desc = "無";
else
cop_desc = new String(cop_desc.getBytes("ISO8859_1"));
String job_name = request.getParameter("job_name");
if(job_name == null || job_name.equals(""))
job_name = "無";
else
job_name = new String(job_name.getBytes("ISO8859_1"));
String job_mann = request.getParameter("job_mann");
if(job_mann == null || job_mann.equals("") ||job_mann.equals("no"))
job_mann = "0";
else
job_mann = new String(job_mann.getBytes("ISO8859_1"));
String job_addr = request.getParameter("job_addr");
if(job_addr == null || job_addr.equals(""))
job_addr = "無";
else
job_addr = new String(job_addr.getBytes("ISO8859_1"));
String job_num = request.getParameter("job_num");
if(job_num == null || job_num.equals(""))
job_num = "0";
else
job_num = new String(job_num.getBytes("ISO8859_1"));
String job_get = request.getParameter("job_get");
if(job_get == null || job_get.equals(""))
job_get = "面議";
else
job_get = new String(job_get.getBytes("ISO8859_1"));
String job_sta = request.getParameter("job_sta");
if(job_sta == null || job_sta.equals(""))
job_sta = "0";
else
job_sta = new String(job_sta.getBytes("ISO8859_1"));
String job_end = request.getParameter("job_end");
if(job_end == null || job_end.equals(""))
job_end = "0";
else
job_end = new String(job_end.getBytes("ISO8859_1"));
String job_age1 = request.getParameter("job_age1");
if(job_age1 == null || job_age1.equals(""))
job_age1 = "0";
String job_age2 = request.getParameter("job_age2");
if(job_age2 == null || job_age2.equals(""))
job_age2 = "0";
String job_grad = request.getParameter("job_grad");
if(job_grad == null || job_grad.equals("") ||job_grad.equals("no"))
job_grad = "0";
String job_lang = request.getParameter("job_lang");
if(job_lang == null || job_lang.equals("") ||job_lang.equals("no"))
job_lang = "0";
String job_expe = request.getParameter("job_expe");
if(job_expe == null || job_expe.equals("") ||job_expe.equals("no"))
job_expe = "0";
String job_oget = request.getParameter("job_oget");
if(job_oget == null || job_oget.equals(""))
job_oget = "無";
else
job_oget = new String(job_oget.getBytes("ISO8859_1"));
String job_odem = job.HtmlSpecialChars(request.getParameter("job_odem"));
if(job_odem == null || job_odem.equals(""))
job_odem = "無";
else
job_odem = new String(job_odem.getBytes("ISO8859_1"));
if(job.editJob(id,job_name,job_mann,job_addr,job_num,job_get,job_sta,job_end,job_age1,job_age2,job_grad,job_lang,job_expe,job_oget,job_odem))
{
//OK
out.println("<script language=\"JavaScript\" type=\"text/javascript\">alert(\"成功更新!\");window.location.href=\"list.jsp\";</script>");
}
else
{
out.println("<script language=\"JavaScript\" type=\"text/javascript\">alert('更新失敗!"+job.error+"');window.location.href=\"list.jsp\";</script>");
}
}
else if(action.equals("delete"))
{
String id = request.getParameter("id");
if(id == null || id.equals(""))
{
out.println("<script language=\"JavaScript\" type=\"text/javascript\">alert(\"Miss job ID!\");window.location.href=\"list.jsp\";</script>");
}
else
{
if(job.deleteJob(id))
{
out.println("<script language=\"JavaScript\" type=\"text/javascript\">alert(\"成功刪除!\");window.location.href=\"list.jsp\";</script>");
}
else
{
out.println("<script language=\"JavaScript\" type=\"text/javascript\">alert(\"刪除失敗!\");window.location.href=\"list.jsp\";</script>");
}
}
}
else
{
if("re".equals(action))
{
String job_id = request.getParameter("jobid");
String id = request.getParameter("id");
ResultSet rs = null;
try
{
String sql = "select c.job_name,b.name,b.age,c.intro,c.cop_name,b.id from USERS b, RESUME c where c.job_id = "+job_id+" and c.id = "+id+" and b.id = c.user_id";
rs = db.executeQuery(sql);
if(rs.next())
{
%>
<html>
<head>
<title>網(wǎng)上求職平臺(tái)</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css_js/style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- 新版表格 -->
<table width="100%" height="100%" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" valign="top">
<!-- 新版表格結(jié)束 -->
<table width="100%" height="50" border="0" cellpadding="0" cellspacing="0" bgcolor="#30483C">
<tr>
<td width="290" valign="middle"><img src="../ima/title.gif" width="290" height="50" border="0"></td>
<td align="right" valign="bottom"><font color="#FFFFFF"> </font></td>
</tr>
</table>
<table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="80%" align="center" background="../ima/header_bg.gif"><img src="../ima/header_arrows.gif" width="206" height="35"></td>
<td width="20%" align="center" background="../ima/header_bg.gif"> </td>
</tr>
</table>
<table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="right" background="../ima/top_bg.gif"></td>
</tr>
</table>
<table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="../ima/shadow.gif"> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="2">
<tr>
<td align="center"><table width="700" border="0" cellspacing="1" cellpadding="1">
<form action="action.jsp?action=reing" id="form" name="form" method="post">
<tbody>
<tr class="text-login">
<td height="20" colspan="2"><strong>添加公司回復(fù)</strong></td>
</tr>
<tr class="text-login">
<td width="60" height="20" bgcolor="#EEEEEE">公司名稱</td>
<td width="290" height="20" bgcolor="#EEEEEE"> <%=rs.getString(5)%></td>
<input type="hidden" name="resume_id" value="<%=id%>">
<input type="hidden" name="job_id" value="<%=job_id%>">
<input type="hidden" name="user_id" value="<%=rs.getInt(6)%>">
</tr>
<tr class="text-login">
<td width="60" height="20">職位名稱</td>
<td width="290" height="20"> <%=rs.getString(1)%></td>
</tr>
<tr class="text-login">
<td width="60" height="20">應(yīng)聘者姓名</td>
<td width="290" height="20"> <%=rs.getString(2)%></td>
</tr>
<tr class="text-login">
<td width="60" height="20">應(yīng)聘者年齡</td>
<td width="290" height="20"> <%=rs.getString(3)%></td>
</tr>
<tr class="text-login">
<td width="60" height="135" valign="top">簡歷內(nèi)容</td>
<td width="290" height="135" align="center" valign="top"><textarea name="re_cont" class="addtextarea" id="re_cont" disabled><%=rs.getString(4)%></textarea></td>
</tr>
<tr class="text-login">
<td width="60" height="20" bgcolor="#EEEEEE"> </td>
<td width="290" height="20" bgcolor="#EEEEEE"> </td>
</tr>
<tr class="text-login">
<td width="60" height="135" valign="top">添加回復(fù)</td>
<td width="290" height="135" align="center" valign="top"><textarea name="re_cont" class="addtextarea" id="re_cont"></textarea></td>
</tr>
<tr align="right" valign="middle" class="text-login">
<td height="30" colspan="2" bgcolor="#EEEEEE">
<input type="submit" class="logbutton" value="提交" >
<input type="button" class="logbutton" value="返回" onClick="window.location.href='resumelist.jsp'">
</td>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -