资源简介
通过ssh架构了一个毕业设计选题管理系统 分为 管理员 教师 学生 三种角色 实现了教师上传课题 学生选择课题或自己课题提交审核 提交阶段文档 指导老师给予指导等等
代码片段和文件信息
package cn.edu.management.action;
import java.io.File;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.sql.Timestamp;
import java.text.DecimalFormat;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.struts2.ServletActionContext;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import cn.edu.management.comm.ApplyTeacherComparator;
import cn.edu.management.comm.DateConventer;
import cn.edu.management.comm.FileManage;
import cn.edu.management.comm.Page;
import cn.edu.management.comm.VOconver;
import cn.edu.management.service.ManagerService;
import cn.edu.management.service.UserService;
import cn.edu.management.vo.showVO.Ems_systemset;
import cn.edu.management.vo.showVO.StudentVO;
import cn.edu.management.vo.showVO.showApplyModifyLogVO;
import cn.edu.management.vo.showVO.showTeacher_VO;
import cn.edu.management.vo.voImpl.ApplyModifyLogVO;
import cn.edu.management.vo.voImpl.ClassTypeVO;
import cn.edu.management.vo.voImpl.EMS_Systemset;
import cn.edu.management.vo.voImpl.Ems_Manager_VO;
import cn.edu.management.vo.voImpl.Ems_Student_VO;
import cn.edu.management.vo.voImpl.Ems_Teacher_VO;
import cn.edu.management.vo.voImpl.ProfessionVO;
import cn.edu.management.vo.voImpl.WorkerTypeVO;
import com.opensymphony.xwork2.ActionSupport;
@Component
@Scope(“prototype“)
public class ManagerAction extends ActionSupport {
private ManagerService managerService;
private UserService userService;
@Resource
public void setManagerService(ManagerService managerService) {
this.managerService = managerService;
}
@Resource
public void setUserService(UserService userService) {
this.userService = userService;
}
/*方便页面获取迭代显示*/
private List managerList ;//管理员
private List teacherList ;//教师
private List studentList ;//学生
private List professionList;//专业
private List workertypeList;//作品类型
private List classtypeList;//课程类型
private List applyModifyList;//申请信息记录表
private List showTeacherList;//方便界面显示老师
/**
* 局部刷新验证
* @return
* @throws IOException
*/
public void checkAccount() throws IOException {
HttpServletRequest request = ServletActionContext.getRequest();
String account = request.getParameter(“account“);
HttpServletResponse response = ServletActionContext.getResponse();
try {
response.setCharacterEncoding(“utf-8“);
if(account.equals(““))
response.getWriter().print(“{\“result\“:\“space\“}“);
else
{
boolean flag = this.managerService.checkAccountIsExist(account);
if(flag)
{
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-05-09 11:03 EducationalManagementSystem\
文件 5557 2013-04-22 20:02 EducationalManagementSystem\.classpath
目录 0 2012-05-09 11:03 EducationalManagementSystem\.myeclipse\
文件 354 2013-04-16 13:55 EducationalManagementSystem\.myme
文件 1433 2013-04-16 13:55 EducationalManagementSystem\.project
目录 0 2012-05-09 11:03 EducationalManagementSystem\.settings\
文件 500 2012-03-17 10:55 EducationalManagementSystem\.settings\.jsdtscope
文件 208 2013-04-16 13:48 EducationalManagementSystem\.settings\org.eclipse.core.resources.prefs
文件 330 2012-03-17 10:55 EducationalManagementSystem\.settings\org.eclipse.jdt.core.prefs
文件 49 2012-03-17 10:55 EducationalManagementSystem\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2012-03-17 10:55 EducationalManagementSystem\.settings\org.eclipse.wst.jsdt.ui.superType.name
目录 0 2013-04-15 15:17 EducationalManagementSystem\src\
目录 0 2012-05-09 11:03 EducationalManagementSystem\src\cn\
目录 0 2012-05-09 11:03 EducationalManagementSystem\src\cn\edu\
目录 0 2012-05-09 11:03 EducationalManagementSystem\src\cn\edu\management\
目录 0 2012-05-09 11:03 EducationalManagementSystem\src\cn\edu\management\action\
文件 50212 2013-05-11 19:53 EducationalManagementSystem\src\cn\edu\management\action\ManagerAction.java
文件 38181 2013-05-11 19:53 EducationalManagementSystem\src\cn\edu\management\action\StudentAction.java
文件 55383 2013-05-11 19:53 EducationalManagementSystem\src\cn\edu\management\action\TeacherAction.java
文件 3859 2013-04-17 14:18 EducationalManagementSystem\src\cn\edu\management\action\UserAction.java
目录 0 2012-05-09 11:03 EducationalManagementSystem\src\cn\edu\management\comm\
文件 666 2013-04-17 14:18 EducationalManagementSystem\src\cn\edu\management\comm\ApplyTeacherComparator.java
文件 546 2013-04-17 14:20 EducationalManagementSystem\src\cn\edu\management\comm\ClassTypeVOComparator.java
文件 1321 2013-04-17 14:21 EducationalManagementSystem\src\cn\edu\management\comm\Comm.java
文件 4245 2013-04-17 14:22 EducationalManagementSystem\src\cn\edu\management\comm\DateConventer.java
文件 660 2013-04-17 14:22 EducationalManagementSystem\src\cn\edu\management\comm\disAuditGraduationComparator.java
文件 666 2013-04-17 14:22 EducationalManagementSystem\src\cn\edu\management\comm\disAuditGraduationResultComparator.java
文件 2589 2013-04-17 14:23 EducationalManagementSystem\src\cn\edu\management\comm\FileManage.java
文件 557 2013-04-17 14:23 EducationalManagementSystem\src\cn\edu\management\comm\ManagerComparator.java
文件 1186 2013-04-17 14:24 EducationalManagementSystem\src\cn\edu\management\comm\Page.java
文件 552 2013-04-17 14:24 EducationalManagementSystem\src\cn\edu\management\comm\ProfessionVOComparator.java
............此处省略734个文件信息
- 上一篇:大话数据结构.rar149806
- 下一篇:Windows高级调试中文版.pdf
相关资源
- SSH框架实现简单的用户管理系统增删
- 基于SSH的电子商城
- Copssh_4.1.0_Installer.exe
- 基于SSH框架的简易网上书店系统适合
- SSH连接工具
- SSH框架demo
- 使用SSH架构实现《青鸟租房》
- 基于SSH的学校选课系统
- ssh一个期末大作业
- SSH项目整合案例
- 基于ssh病人系统完整版
- 基于Web的酒店管理系统
- 超市管理含分页,增删改查
- ssh框架增删改查登陆,含数据库表
- ssh框架的订餐系统
- SSH 整合实现增删改查
- ssh框架 个人博客 系统
- 基于SSH的B2C购物网站源代码
- ssh_crm客户关系管理系统
- ssh框架开发的个人博客系统前后台
- SSH登录与增删改查demo详解+源代码
- 基于SSH框架的仿当当网图书管理系统
- 基于SSH的订餐系统
- Spring+Struts2+hibernate+Redis整合
- 基于SSH框架的网上书店系统
- SSHStruts2+Spring+Hibernate三大框架整合简
- SSH整合员工管理系统
- 海思3516A 3516D openssl zlib openssh编译
-
SSH三大框架整合 struts2(使用xm
l配置 - 火车票订票系统(ssh)
评论
共有 条评论