基于SSM的大学生兼职管理系统设计与实现
如果是企业用户,有企业用户的注册界面,注册的信息存到后台数据库中,然后用注册的用户名和密码登录企业用户,进入企业用户的管理界面,在这个界面企业用户可以修改自己的信息,也可以发布兼职信息;id=13796然后用注册的用户名和密码登录个人用户,进入个人用户的管理界面,在这个界面个人用户可以修改自己的信息,也可以查看企业招聘信息和投递简历。大学生兼职管理系统应该具有以下几部分功能:个人用户可以在网页上查
目录
摘要 I
University student part time management system based on SSM II
Abstract II
目录 I
1 绪论 1
1.1 课题背景 1
1.2 研究意义 1
1.3 课题研究路线 2
2 开发环境和相关技术介绍 3
2.1开发环境 3
2.2相关技术 3
2.2.1 MVC简介 3
2.2.2 Struts2 4
2.2.3 Spring 4
2.2.4 MyBatis 5
2.2.5 JSP 5
3 系统需求分析 7
3.1 系统概述 7
3.2 功能需求分析 7
3.2.1 系统流程图 7
3.2.2 系统功能总结 10
3.3 可行性研究 11
3.3.1 经济可行性 11
3.3.2 技术可行性 11
3.3.3 时间可行性 11
3.3.4 法律可行性 11
4 系统概要设计 12
4.1 系统总体结构设计 12
4.2 系统模块设计 12
4.3 数据库设计 13
4.3.1 数据库概念结构设计 14
4.3.2 数据库逻辑结构设计 15
5 详细设计和实现 18
5.1 环境搭建 18
5.1.1 jdk的下载与配置 18
5.1.2 Tomcat的下载与配置 18
5.2 项目框架搭建 19
5.2.1 项目总体结构 19
5.2.2 Spring+Struts2+MyBatis整合 19
5.2.3 项目类名设计 20
5.2.4 代码的调用逻辑 21
5.3 首页的设计 22
5.3.1 首页的新闻信息 24
5.3.2 首页的兼职信息 25
5.3.3 公告信息页面 26
5.4 个人用户注册登陆的实现 27
5.4.1 实现注册 27
5.4.2 实现登陆 27
5.5 个人用户管理界面的实现 28
5.5.1 修改个人用户信息 28
5.5.2 浏览投递简历记录 29
5.6 企业注册登录界面的实现 30
5.6.1 实现注册 30
5.6.2 实现登录 31
5.7 企业用户管理界面的实现 31
5.7.1 管理兼职信息的实现 32
5.7.2 兼职信息的发布 33
5.7.2 兼职信息的删除 34
5.8 管理员管理信息的实现 35
5.8.1 系统公告管理 35
5.8.2 新闻资讯管理 37
6 系统测试 38
6.1 测试的目的 38
6.2 对于本系统的测试 38
总 结 39
参考文献 40
致 谢 41
本系统在管理中实现三种角色,分别是管理员、个人用户、企业用户。企业用户可以发布系统允许类别的兼职信息,可以接收个人用户投递来的简历;个人用户可以查看系统允许的兼职类别,并可以查看哪些企业发布了什么兼职岗位,可以向这些岗位投递简历;管理员则可以管理其他两种用户,还可以发布系统公告信息和新闻资讯,让用户更加实时地了解现在的兼职市场。
3 系统需求分析
3.1 系统概述
大学生兼职管理系统应该具有以下几部分功能:个人用户可以在网页上查看最新的兼职新闻,关于系统的公告,还可以查询系统目前支持的兼职类型,查看企业发布的兼职信息并投递简历;企业用户注册并发布和管理兼职信息,下载并查看个人用户投递来的简历;管理员管理企业用户和普通用户的信息,添加网站公告和新闻。
3.2 功能需求分析
软件需求分析是软件开发的第一个阶段,也是关系到软件开发成败的关键步骤。明确的目标是制定方案的前提,功能需求的描述则是大学生兼职管理系统实施方案的前提。需求分析要注意的问题,是让用户和开发者共同明确将要开发的是一个什么样的系统。该系统主要针对学生对网络兼职系统的需要,采用JSP技术使学生轻松自在的实现在网上用户注册、查看兼职信息和简历投递,使企业可以发布兼职信息,接收简历等。
从系统的概述中,提取出的需求为:
1.要有3种角色,分别为:管理员、个人用户、企业用户;
2.管理员可以查看个人用户和企业用户的信息,也可以删除这些信息;
3.管理员可以增加和删除兼职信息类别;
4.管理员可以发布和删除系统公告;
5.管理员可以发布和删除新闻资讯;
6.个人用户可以查看新闻资讯,查看系统公告,查看兼职信息,投递简历;
7.企业用户可以发布和删除兼职信息,可以接收简历。
3.2.1 系统流程图
大学生兼职管理系统的普通用户分为个人用户和企业用户,企业用户登录后进入管理中心,可以发布和管理兼职信息,个人用户登录系统可以查询兼职信息。系统的总体流程如图3-1所示。
图3-1 系统总体流程图
上图为系统总体流程图,先进入系统主页后,用户知道自己想成为什么类型的用户后,到不同的页面去注册不用的用户类型。如果是企业用户,有企业用户的注册界面,注册的信息存到后台数据库中,然后用注册的用户名和密码登录企业用户,进入企业用户的管理界面,在这个界面企业用户可以修改自己的信息,也可以发布兼职信息;如果是个人用户,有个人用户的注册界面,注册信息存到后台数据库中,本文转载自http://www.biyezuopin.vip/onews.asp?id=13796然后用注册的用户名和密码登录个人用户,进入个人用户的管理界面,在这个界面个人用户可以修改自己的信息,也可以查看企业招聘信息和投递简历。
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="expires" content="0"/>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
<meta http-equiv="description" content="This is my page"/>
<style>
* {margin:0;padding:0;font-size:12px}
html, body {height:100%;background:url(<%=path %>/img/pagebg.gif)}
button,input,select { vertical-align:middle;}
img { border:none; vertical-align:middle;}
ul,ol { list-style-type:none;}
.warper-bg,.warper {width:708px;height:423px;position:absolute;left:50%;margin-left:-354px;top:50%;margin-top:-232px;z-index:200}
.warper-bg {background:url(<%=path %>/img/bg.png) no-repeat;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<%=path %>/img/bg.png', sizingMethod='crop');_background:none;z-index:100}
.content {height:75px;margin-top:75px;height:280px}
.download {width:270px;float:left;height:100%}
.downloadlink {display:block;width:100%;height:100%;text-indent:-10000px}
.login {width:438px;float:right;height:100%}
.login .text {padding:20px 30px 10px 10px;text-indent:2em;font-size:14px;line-height:150%}
.input-text {background:#FFF url(<%=path %>/img/input_bg.gif) no-repeat;border:0;padding:3px}
.validate { cursor:pointer}
.button-submit {width:94px;height:69px;background:url(<%=path %>/img/submit.gif) no-repeat;border:0; cursor:pointer}
.links {padding:20px 0 0 30px}
.links li {float:left;width:85px;font-size:14px}
.links li span {font-weight:bold}
.links li a {color:#F00}
.url-new {display:block;float:right;width:400px;height:36px;text-indent:-100000px}
.cRed {color:#900;font-size:14px;font-weight:bold; font-family:'黑体'}
#msgdiv {height: 130px;width: 300px;border: 5px solid #a09d18;padding: 10px;text-align: center;}
</style>
<script type='text/javascript' src='<%=path %>/dwr/interface/loginService.js'></script>
<script type='text/javascript' src='<%=path %>/dwr/engine.js'></script>
<script type='text/javascript' src='<%=path %>/dwr/util.js'></script>
<script language="javascript">
function login()
{
if(document.ThisForm.userName.value=="")
{
alert("请输入用户名");
document.ThisForm.userName.focus();
return false;
}
if(document.ThisForm.userPw.value=="")
{
alert("请输入密码");
document.ThisForm.userPw.focus();
return false;
}
if(document.ThisForm.userType.value==-1)
{
alert("请选择登陆身份");
return false;
}
document.getElementById("indicator").style.display="block";
loginService.login(document.ThisForm.userName.value,document.ThisForm.userPw.value,document.ThisForm.userType.value,callback);
}
function callback(data)
{
document.getElementById("indicator").style.display="none";
if(data=="no")
{
alert("用户名或密码错误");
}
if(data=="yes")
{
alert("通过验证");
window.location.href="<%=path %>/loginSuccess.jsp";
}
}
</script>
</head>
<body>
<div class="warper-bg"></div>
<div class="warper">
<div class="content">
<a href="#"><div style="width:163px; height:29px; position:absolute; top: 234px; left:50px;cursor:pointer;"> </div></a>
<a href="#"><div style="width:202px; height:21px; position:absolute; top: 273px; left:36px;cursor:pointer;"></div></a>
<div class="login">
<div class="text" style="font-size: 22px;font-weight: 700">
大学生兼职信息分类网
</div>
<div class="login-field">
<form action="" method="post" name="ThisForm">
<table width="100%" border="0" cellspacing="10">
<tr>
<td width="80" align="right">
<span class="cRed">账号:</span>
</td>
<td width="150">
<input class="input-text" type="text" name="userName" value="" style="width: 200px;"/>
</td>
</tr>
<tr>
<td width="80" align="right">
<span class="cRed">密码:</span>
</td>
<td width="150">
<input class="input-text" type="text" name="userPw" value="" style="width: 200px;"/>
</td>
</tr>
<tr>
<td width="80" align="right">
<span class="cRed">类型:</span>
</td>
<td width="150">
<select name="userType" id="userType" style="width: 205px;">
<option value="0">管理人员</option>
<option value="1">用人单位</option>
</select>
</td>
</tr>
<tr>
<td width="80" align="right">
</td>
<td rowspan="2">
<input type="button" value="登陆" onClick="login()" style="width: 80px;"/>
<input type="button" value="重置" onClick="userReg()" style="width: 80px;"/>
<img id="indicator" src="<%=path %>/img/loading.gif" style="display:none"/>
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
</div>
</body>
</html>
















更多推荐


所有评论(0)