📄 resume_campus_serv.jsp
字号:
<%@ page contentType="text/html; charset=GB2312" %>
<%@ page import="foton.util.*" %>
<%@ page import="foton.resume.*" %>
<%@ page import="java.util.*" %>
<SCRIPT language=javascript>
var isSure=false;
function OpenWin(URL,winName,para)
{
window.open(URL,winName,para);
}
function toOpen(str1,str2)
{
if(str1==str2)
{
OpenWin('../job/job_insert.jsp','newWin','scrollbars=yes,width=800,height=600');
}
else
{
alert("密码不对!");
return false;
}
}
</SCRIPT>
<html> <body>
<%
String choice = request.getParameter("choice");
//String jobID="";
// String jobID = request.getParameter("jobID");
//String name = request.getParameter("name");
//String type = request.getParameter("type");
//String state = request.getParameter("state");
//String choice = request.getParameter("action");
String[] check = request.getParameterValues("check");
transCode trans = new transCode();
choice = trans.transCode(choice);
if(choice.equals("保存")) choice="STORE";
if(choice.equals("更新")) choice="UPDATE";
if(choice.equals("应聘")) choice="RESUME";
if(choice.equals("删除")) choice="DELETE";
if(choice.equals("返回")) choice="RETURN";
studentResumeDAO dao = new studentResumeDAO();
//jobInfo info=dao.getJob(jobID);
//info.setID(ID);
//info.setName(name);
//info.setType(type);
//info.setState(state);
// String password1 = trans.retransCode(password);
if (choice.equals("DELETE")) {
if(check!=null) {
int num = check.length;
for (int i=0; i<=num-1; i++) {
System.out.println("check[i]="+check[i]);
dao.delResume(check[i]);
}
System.out.println("Successful to del data from datbase!!!");
//prompt = "INSERT";
%>
<jsp:forward page="resume_campus_query.jsp"/>
<%
}
else {
%>
<script language="javascript">
window.top.location="../resume/resume_campus_query.jsp";
alert('请选择要删除的条目!');
</script>
<%
}
}
if (choice.equals("RESUME")) {
%>
<jsp:forward page="../resume/resume_insert.jsp"/>
<%
}
%>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -