# 代码分享 **Repository Path**: zai123456/code-sharing ## Basic Information - **Project Name**: 代码分享 - **Description**: java web 代码分享,正在整理中。。。。。 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-11-21 - **Last Updated**: 2022-11-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README @[TOC](文章目录)
# 1 项目下载步骤 项目为学长帮往届同学定制开发的项目,满足毕设要求,内容完整且详细,可直接使用。 ## 第一步 #### 访问学长项目集合 https://mbd.pub/o/dancheng/work 如下 ![在这里插入图片描述](https://img-blog.csdnimg.cn/f255b7a1fe0f43cca795241ed7242f5b.png) ## 第二步 在搜索框内搜索相关项目关键词 ![在这里插入图片描述](https://img-blog.csdnimg.cn/2465a8521f444a47b41ec7ff37454d27.png) ## 第三步 拉到文章最下方,下载对应资源,如下 ![在这里插入图片描述](https://img-blog.csdnimg.cn/64ccd7c1251f4133a6baed717f278d64.png) # 2 项目包含内容 包含内容(毕设全套资料): * 项目源码 + 数据库 + 部署视频 * 论文+答辩PPT+任务书 **文档和代码:** ![在这里插入图片描述](https://img-blog.csdnimg.cn/20201215152000730.jpg?,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0hVWElOWQ==,size_46,color_AFFFFF,t_70) **文档:** ![在这里插入图片描述](https://img-blog.csdnimg.cn/20201215151955798.jpg?,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0hVWElOWQ==,size_46,color_AFFFFF,t_70) **论文预览:** ![在这里插入图片描述](https://img-blog.csdnimg.cn/20201215153203658.png?,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0hVWElOWQ==,size_86,color_AFFFFF,t_70) # 3 样例展示 【基于java web的网上招聘系统】 ## 3.1 系统研究背景 伴随着中国经济的飞速发展,城市化进程的加快,求职者队伍的不断壮大,传统人才招聘的弊端初露端倪。首先,传统人才应聘的形式是求职者和企业的负责人面对面地交流。这就需要企业和求职者提前规划自己的时间,准备大量的纸质材料,并选好举办招聘会的地点,这一系列流程都需要双方把大量的精力投入到准备活动中去,使得应聘还未开始,成本就已大幅增加。其次,企业在筛选数以百计,甚至数以万计简历的时候,往往会由于阅读疲劳,漏掉一些真正有价值的简历,使得企业丧失掉一批有用的人才。对于求职者而言,也会错失掉良好的机会,令人惋惜。
随着国内互联网飞速的发展,人们已经越来越习惯于使用互联网传递信息,接收信息,利用互联网技术使得自己的生活更加便利,快捷。在这样一种大趋势下,网上人才招聘系统出现在了人们的眼前。而且由于网络招聘较传统招聘具有多项优势,越来越多的求职者选择网络求职成为自己的应聘方式。 ## 3.2 系统研究意义 本系统开发的意义一方面在于突破传统人才招聘的模式,给招聘者和求职者提供一个便利、高效、准确的网络招聘平台,使得双方可以在把成本降到最低的前提下,在更快的时间获得更加准确的信息,从而满足企业的用人需求,实现求职者的自我价值。另一方面在于完善网络招聘服务工作,建立服务体系,通过对用户需求的研究,开发出更符合实际应用的软件。 ## 3.3 开发环境 * 操作系统:Windows10 * 数据库版本:Oracle10g XE * JDK版本:JDK1.8 * 服务器版本:apache-tomcat-8.0.24-windows-x64 **技术栈** * 后端 :Core Java、Servlet、Jsp、MyBatis * 前端 :HTML+CSS实现页面布局,部分功能使用Jquery和Ajax减轻服务器端的压力。
## 3.4 系统设计 ### 3.4.1 系统设计模块 ![在这里插入图片描述](https://img-blog.csdnimg.cn/20201215144916124.png?x-oss-process=,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0hVWElOWQ==,size_46,color_FFF000,t_70) ### 3.4.2 运行结果展示 ![在这里插入图片描述](https://img-blog.csdnimg.cn/20201215145525948.png?,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0hVWElOWQ==,size_46,color_FFFFFF,t_70) ![在这里插入图片描述](https://img-blog.csdnimg.cn/20201215145534722.png?,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0hVWElOWQ==,size_46,color_FFFFFF,t_70) ![在这里插入图片描述](https://img-blog.csdnimg.cn/202012151455537.png?,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0hVWElOWQ==,size_46,color_AFFFFF,t_70) ![在这里插入图片描述](https://img-blog.csdnimg.cn/20201215145604745.png?,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0hVWElOWQ==,size_46,color_AFFFFF,t_70) ![在这里插入图片描述](https://img-blog.csdnimg.cn/20201215145619635.png?,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0hVWElOWQ==,size_46,color_AFFFFF,t_70) ![在这里插入图片描述](https://img-blog.csdnimg.cn/20201215145628613.png?,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0hVWElOWQ==,size_46,color_AFFFFF,t_70) ![在这里插入图片描述](https://img-blog.csdnimg.cn/20201215145636158.png?,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0hVWElOWQ==,size_46,color_AFFFFF,t_70) ### 3.4.3部分实现代码 ApplyServlet.java ```java package tyut.web; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.Servlet; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import tyut.bean.Employee; import tyut.service.imp.IEmployeeServiceImp; /** * Servlet implementation class ApplyServlet */ public class ApplyServlet extends HttpServlet implements Servlet { private static final long serialVersionUID = 1L; /** * @see HttpServlet#HttpServlet() */ public ApplyServlet() { super(); // TODO Auto-generated constructor stub } /** * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) */ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub doPost(request, response); } /** * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) */ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub PrintWriter out = response.getWriter(); out.println(""); out.println(""); out.println(""); out.flush(); out.close(); } } ``` RegisterServlet.java ```java package tyut.web; import java.io.IOException; import java.io.PrintWriter; import java.util.Date; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import tyut.bean.Company; import tyut.bean.Person; import tyut.service.imp.ICompanyServiceImp; import tyut.service.imp.IPersonServiceImp; /** * Servlet implementation class PersonRegisterServlet */ public class RegisterServlet extends HttpServlet { private static final long serialVersionUID = 1L; /** * @see HttpServlet#HttpServlet() */ public RegisterServlet() { super(); // TODO Auto-generated constructor stub } /** * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) */ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub doPost(request, response); } /** * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) */ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub String username = request.getParameter("username"); String password = request.getParameter("password"); String name = request.getParameter("name"); String phone = request.getParameter("phone"); String email = request.getParameter("email"); String trade = request.getParameter("trade"); String salary = request.getParameter("salary"); String tip = request.getParameter("tip"); String sex = request.getParameter("sex"); String isAuto = request.getParameter("isAuto"); boolean bool = false; PrintWriter out = response.getWriter(); //个人注册 if(sex!=null){ String birthday = request.getParameter("birthday"); String school = request.getParameter("school"); Person person = new Person(username, password, name, sex, birthday, phone, email, school, trade, salary, tip); IPersonServiceImp iPersonServiceImp = new IPersonServiceImp(); bool = iPersonServiceImp.register(person); if(bool == false){ //ajax向前台传值 out.write("该用户名已存在!"); //注册成功 }else{ //注册完立即发布简历 if(isAuto!=null){ person.setPubtime(new Date()); iPersonServiceImp.publish(person); } } } //公司注册 else{ String location = request.getParameter("location"); Company company = new Company(username, password, name, phone, email, location, trade, salary, tip); ICompanyServiceImp iCompanyServiceImp = new ICompanyServiceImp(); bool = iCompanyServiceImp.register(company); if(bool == false){ out.write("该用户名已存在!"); //注册成功 }else{ //注册完立即发布简历 if(isAuto!=null){ company.setPubtime(new Date()); iCompanyServiceImp.publish(company); } } } out.flush(); out.close(); } } ```