资源简介

较详细的人才招聘系统,有管理员,个人用户,企业用户三种角色。能网上写简历,发送简历,发送email,发布职位,搜索职位,查看系统公告,下载文档等功能。 功能很多

资源截图

代码片段和文件信息

package com.yuqikai.action;

import java.util.Date;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpSession;
import javax.swing.JOptionPane;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
import com.yuqikai.model.Admin;
import com.yuqikai.model.Gangwei;
import com.yuqikai.model.Qiye;
import com.yuqikai.model.TDoc;
import com.yuqikai.model.TGonggao;
import com.yuqikai.model.TLiuyan;
import com.yuqikai.model.TNews;
import com.yuqikai.model.TZhaopinhui;
import com.yuqikai.model.User;
import com.yuqikai.service.AdminService;
import com.yuqikai.service.DocService;
import com.yuqikai.service.GangWeiService;
import com.yuqikai.service.GonggaoService;
import com.yuqikai.service.LiuyanService;
import com.yuqikai.service.NewsService;
import com.yuqikai.service.ZhaoPingHuiService;

public class AdminAction extends ActionSupport{
private AdminService adminService;
private GangWeiService gangWeiService;
private String name;
private String psw;
private int id;

public String adminLogin(){
List admins = adminService.findAdmin(name psw);
if(admins==null||admins.size()<=0){
JOptionPane.showMessageDialog(null “用户名或密码错误!“);
return ERROR;
}
HttpSession session = ServletActionContext.getRequest().getSession();
session.setAttribute(“adminName“ admins.get(0).getName());
return SUCCESS;
}

public String addZhiWei(){
Gangwei g = new Gangwei();
g.setName(name);
gangWeiService.addGangWei(g);
return SUCCESS;
}
public String delZhiWei(){
gangWeiService.removeGangWei(id);
return SUCCESS;
}
public String showZhiWei(){
List gangweis = gangWeiService.findAll();
HttpSession session = ServletActionContext.getRequest().getSession();
session.setAttribute(“gangweis“ gangweis);
return SUCCESS;
}

public void setAdminService(AdminService adminService) {
this.adminService = adminService;
}

public String getName() {
return name;
}

public void setName(String name) {
this.name = name;
}

public String getPsw() {
return psw;
}

public void setPsw(String psw) {
this.psw = psw;
}

public void setGangWeiService(GangWeiService gangWeiService) {
this.gangWeiService = gangWeiService;
}

public int getId() {
return id;
}

public void setId(int id) {
this.id = id;
}

/**
 * 公告
 */
private int gonggaoId;
private String gonggaotitle;
private String gonggaoContent;
private String gonggaoData;
private String gonggaoFabuzhe;

private String message;
private GonggaoService gonggaoService;

public String gonggaoAdd()
{
TGonggao gonggao=new TGonggao();
gonggao.setGonggaotitle(gonggaotitle);
gonggao.setGonggaoContent(gonggaoContent);
gonggao.setGonggaoData(new Date().toLocaleString());
gonggaoService.save(gonggao);
this.setMessage(“操作成功“);

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-05-19 17:49  rczp\
     文件        8848  2013-05-07 17:57  rczp\.classpath
     目录           0  2013-01-05 14:31  rczp\.myeclipse\
     文件         592  2013-05-07 15:55  rczp\.myhibernatedata
     文件         285  2013-01-05 14:31  rczp\.mymetadata
     文件        1612  2013-01-06 10:26  rczp\.project
     目录           0  2013-01-05 14:48  rczp\.settings\
     文件         500  2013-01-05 14:31  rczp\.settings\.jsdtscope
     文件          88  2013-05-02 10:57  rczp\.settings\org.eclipse.core.resources.prefs
     文件          83  2013-01-05 14:48  rczp\.settings\org.eclipse.core.runtime.prefs
     文件         330  2013-01-05 14:31  rczp\.settings\org.eclipse.jdt.core.prefs
     文件          49  2013-01-05 14:31  rczp\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2013-01-05 14:31  rczp\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2013-05-07 17:51  rczp\src\
     文件       11612  2013-05-20 16:14  rczp\src\applicationContext.xml
     目录           0  2013-01-06 10:20  rczp\src\com\
     目录           0  2013-01-06 10:23  rczp\src\com\yuqikai\
     目录           0  2013-05-19 16:09  rczp\src\com\yuqikai\action\
     文件       13061  2013-05-13 14:41  rczp\src\com\yuqikai\action\AdminAction.java
     文件          62  2013-01-06 10:38  rczp\src\com\yuqikai\action\GLYAction.java
     文件        5830  2013-05-13 13:39  rczp\src\com\yuqikai\action\LoginAction.java
     文件          65  2013-01-06 10:38  rczp\src\com\yuqikai\action\OthersAction.java
     文件        1267  2013-05-21 07:38  rczp\src\com\yuqikai\action\PrintOrOut.java
     文件        8492  2013-05-07 16:50  rczp\src\com\yuqikai\action\QiYeAction.java
     文件       14887  2013-05-20 16:33  rczp\src\com\yuqikai\action\UserAction.java
     文件         490  2013-01-08 13:13  rczp\src\com\yuqikai\action\UserDailAction.java
     目录           0  2013-05-07 15:55  rczp\src\com\yuqikai\dao\
     文件         382  2013-05-02 12:49  rczp\src\com\yuqikai\dao\AdminDao.java
     文件         365  2013-01-06 10:28  rczp\src\com\yuqikai\dao\baseHibernateDAO.java
     文件        1298  2013-05-02 13:38  rczp\src\com\yuqikai\dao\GangweiDAO.java
     文件         226  2013-01-06 10:28  rczp\src\com\yuqikai\dao\IbaseHibernateDAO.java
............此处省略1334个文件信息

评论

共有 条评论