• 大小: 41.94MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-23
  • 语言: 其他
  • 标签:

资源简介

代码中还是有点小bug,比如照片的显示问题,只需在在tomcat下找到该项目的xml加配置路径的语句即可;另外有时候出现的500错误,刷新下界面就可以解决。

资源截图

代码片段和文件信息

package com.action;

import com.opensymphony.xwork2.ActionContext;

public class baseAction {
private String type;
private String id;
private String password;
public String loginforward(){
ActionContext.getContext().getSession().put(“type“ type);
ActionContext.getContext().getSession().put(“id“ id);
ActionContext.getContext().getSession().put(“password“ password);
return type;
}
public String logout(){
ActionContext.getContext().getSession().clear();
return “success“;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        825  2018-01-08 19:07  HotelManagementSystem\.classpath

     文件       1054  2015-12-21 22:18  HotelManagementSystem\.project

     文件        503  2015-12-21 22:18  HotelManagementSystem\.settings\.jsdtscope

     文件        364  2015-12-21 22:18  HotelManagementSystem\.settings\org.eclipse.jdt.core.prefs

     文件        515  2015-12-21 22:18  HotelManagementSystem\.settings\org.eclipse.wst.common.component

     文件        305  2015-12-21 22:18  HotelManagementSystem\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2015-12-21 22:18  HotelManagementSystem\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2015-12-21 22:18  HotelManagementSystem\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件       3429  2016-04-17 22:35  HotelManagementSystem\build\classes\applicationContext.xml

     文件       1409  2018-01-08 19:07  HotelManagementSystem\build\classes\com\action\baseAction.class

     文件       2460  2016-01-04 16:04  HotelManagementSystem\build\classes\com\action\CustomerAction-validation.xml

     文件       6180  2018-01-15 11:49  HotelManagementSystem\build\classes\com\action\CustomerAction.class

     文件       2639  2016-01-04 16:04  HotelManagementSystem\build\classes\com\action\Hotel_cityAction-validation.xml

     文件       6536  2018-01-14 14:31  HotelManagementSystem\build\classes\com\action\Hotel_cityAction.class

     文件       2709  2018-01-14 14:32  HotelManagementSystem\build\classes\com\action\Hotel_roomAction.class

     文件       2585  2018-01-11 11:00  HotelManagementSystem\build\classes\com\action\ManagerAction.class

     文件       3182  2018-01-11 11:05  HotelManagementSystem\build\classes\com\action\MessageAction.class

     文件       8923  2018-01-14 16:32  HotelManagementSystem\build\classes\com\action\OrderlistAction.class

     文件       3702  2018-01-15 12:24  HotelManagementSystem\build\classes\com\dao\CustomerDao.class

     文件       3339  2018-01-15 12:24  HotelManagementSystem\build\classes\com\dao\Hotel_cityDao.class

     文件       2521  2018-01-15 12:24  HotelManagementSystem\build\classes\com\dao\Hotel_roomDao.class

     文件       3271  2018-01-15 12:24  HotelManagementSystem\build\classes\com\dao\ManagerDao.class

     文件       2198  2018-01-15 12:24  HotelManagementSystem\build\classes\com\dao\MessageDao.class

     文件       3024  2018-01-15 12:24  HotelManagementSystem\build\classes\com\dao\OrderlistDao.class

     文件       2621  2018-01-08 19:07  HotelManagementSystem\build\classes\com\entity\Customer.class

     文件        781  2015-12-28 23:25  HotelManagementSystem\build\classes\com\entity\Customer.hbm.xml

     文件       2670  2018-01-08 19:07  HotelManagementSystem\build\classes\com\entity\Hotel_city.class

     文件        791  2015-12-27 22:53  HotelManagementSystem\build\classes\com\entity\Hotel_city.hbm.xml

     文件       2013  2018-01-08 19:07  HotelManagementSystem\build\classes\com\entity\Hotel_room.class

     文件        785  2018-01-08 20:00  HotelManagementSystem\build\classes\com\entity\Hotel_room.hbm.xml

............此处省略202个文件信息

评论

共有 条评论