• 大小: 24.11MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-22
  • 语言: 其他
  • 标签: 是z  

资源简介

基于ssh框架的客房信息管理系统,前端运用bootstrap框架,后台运用ssh框架技术。

资源截图

代码片段和文件信息

package com.action;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.ServletActionContext;

import com.po.Admin;
import com.service.AdminService;

public class AdminAction extends baseAction{
private AdminService adminService;
HttpServletRequest request=ServletActionContext.getRequest();
ServletContext application=ServletActionContext.getServletContext();
public AdminService getAdminService() {
return adminService;
}
public void setAdminService(AdminService adminService) {
this.adminService = adminService;
}
public Admin getAdmin() {
return admin;
}
public void setAdmin(Admin admin) {
this.admin = admin;
}

private Admin admin;



public String login() {
if (this.adminService.check(this.admin)) {
//synchronized(application)
{
//application.setAttribute(“admin“ admin);
}

return SUCCESS;
} else {
return INPUT;
}
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-08-26 10:19  Hotel\
     文件         841  2018-07-07 16:06  Hotel\.classpath
     文件        1038  2018-07-07 16:06  Hotel\.project
     目录           0  2018-08-26 10:19  Hotel\.settings\
     文件         567  2018-07-07 16:06  Hotel\.settings\.jsdtscope
     文件         364  2018-07-07 16:06  Hotel\.settings\org.eclipse.jdt.core.prefs
     文件         467  2018-07-07 16:06  Hotel\.settings\org.eclipse.wst.common.component
     文件         345  2018-07-07 16:06  Hotel\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2018-07-07 16:06  Hotel\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2018-07-07 16:06  Hotel\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2018-08-26 10:19  Hotel\build\
     目录           0  2018-08-26 10:19  Hotel\build\classes\
     目录           0  2018-08-26 10:19  Hotel\build\classes\com\
     目录           0  2018-08-26 10:19  Hotel\build\classes\com\action\
     文件        1396  2018-08-22 08:54  Hotel\build\classes\com\action\AdminAction.class
     文件        1514  2018-08-22 08:54  Hotel\build\classes\com\action\baseAction.class
     文件        2625  2018-08-22 08:54  Hotel\build\classes\com\action\LogAction.class
     文件        4232  2018-08-22 08:54  Hotel\build\classes\com\action\RoomAction.class
     文件        4908  2018-08-22 08:54  Hotel\build\classes\com\action\UserAction.class
     文件        3397  2018-08-22 08:54  Hotel\build\classes\com\action\VipAction.class
     目录           0  2018-08-26 10:19  Hotel\build\classes\com\dao\
     文件         141  2018-08-22 08:54  Hotel\build\classes\com\dao\AdminDao.class
     目录           0  2018-08-26 10:19  Hotel\build\classes\com\dao\impl\
     文件        1166  2018-08-22 08:54  Hotel\build\classes\com\dao\impl\AdminDaoImpl.class
     文件        1920  2018-08-22 08:54  Hotel\build\classes\com\dao\impl\LogDaoImpl.class
     文件        3377  2018-08-22 08:54  Hotel\build\classes\com\dao\impl\RoomDaoImpl.class
     文件        3992  2018-08-22 08:54  Hotel\build\classes\com\dao\impl\UserDaoImpl.class
     文件        2996  2018-08-22 08:54  Hotel\build\classes\com\dao\impl\VipDaoImpl.class
     文件         306  2018-08-22 08:54  Hotel\build\classes\com\dao\LogDao.class
     文件         468  2018-08-22 08:54  Hotel\build\classes\com\dao\RoomDao.class
     文件         665  2018-08-22 08:54  Hotel\build\classes\com\dao\UserDao.class
............此处省略339个文件信息

评论

共有 条评论

相关资源