• 大小: 18.77MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-16
  • 语言: Java
  • 标签: java  jsp  mysql  servlet  

资源简介

本项目为学生自发组建团队开发完成,里面内容也有许多可取之处,大神勿扰!

资源截图

代码片段和文件信息

package com.kd.controller;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.kd.service.AddAdminService;
import com.kd.service.impl.AddAdminServiceImpl;

@WebServlet(“/AddAdminServlet“)
public class AddAdminServlet extends HttpServlet{

private static final long serialVersionUID = 1L;

@Override
protected void service(HttpServletRequest request HttpServletResponse response) throws ServletException IOException {
request.setCharacterEncoding(“utf-8“);
response.setContentType(“text/html;charset=utf-8“);

String aname  = request.getParameter(“aname“);
String apassword  = request.getParameter(“apassword“);

AddAdminService aService = new AddAdminServiceImpl();
int addAdmin = aService.addAdmin(aname apassword);

response.getWriter().print(addAdmin);

}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-10-09 14:31  Hotel\
     文件         661  2018-10-07 13:22  Hotel\.classpath
     文件         905  2018-10-06 14:23  Hotel\.project
     目录           0  2018-10-07 19:06  Hotel\.settings\
     文件         567  2018-10-06 14:23  Hotel\.settings\.jsdtscope
     文件         115  2018-10-09 15:42  Hotel\.settings\org.eclipse.core.resources.prefs
     文件         364  2018-10-06 14:23  Hotel\.settings\org.eclipse.jdt.core.prefs
     文件         467  2018-10-06 14:23  Hotel\.settings\org.eclipse.wst.common.component
     文件         345  2018-10-06 14:23  Hotel\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2018-10-06 14:23  Hotel\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2018-10-06 14:23  Hotel\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2018-10-07 19:06  Hotel\build\
     目录           0  2018-10-19 13:46  Hotel\build\classes\
     文件         334  2018-10-06 14:27  Hotel\build\classes\c3p0-config.xml
     目录           0  2018-10-19 13:46  Hotel\build\classes\com\
     目录           0  2018-10-19 13:46  Hotel\build\classes\com\kd\
     目录           0  2018-10-19 13:47  Hotel\build\classes\com\kd\controller\
     文件        1619  2018-10-19 13:46  Hotel\build\classes\com\kd\controller\AddAdminServlet.class
     文件        2367  2018-10-19 13:46  Hotel\build\classes\com\kd\controller\AddRoomServlet.class
     文件        2044  2018-10-19 13:46  Hotel\build\classes\com\kd\controller\AdminLoginServlet.class
     文件        1491  2018-10-19 13:46  Hotel\build\classes\com\kd\controller\AdminOutLoginServet.class
     文件        1782  2018-10-19 13:46  Hotel\build\classes\com\kd\controller\BackFoodOrderServlet.class
     文件        1901  2018-10-19 13:46  Hotel\build\classes\com\kd\controller\BackRoomOrderServlet.class
     文件        3032  2018-10-19 13:46  Hotel\build\classes\com\kd\controller\BookRoomServlet.class
     文件        2453  2018-10-19 13:46  Hotel\build\classes\com\kd\controller\ChongzhiServlet.class
     文件        1750  2018-10-19 13:46  Hotel\build\classes\com\kd\controller\DeletePhotoServlet.class
     文件        1614  2018-10-19 13:46  Hotel\build\classes\com\kd\controller\DelUserServlet.class
     文件        1536  2018-10-19 13:46  Hotel\build\classes\com\kd\controller\EvaluateCountServlet.class
     文件        2116  2018-10-19 13:46  Hotel\build\classes\com\kd\controller\EvaluateLimitServlet.class
     文件        1780  2018-10-19 13:46  Hotel\build\classes\com\kd\controller\EvaluateServlet.class
     文件        2646  2018-10-19 13:46  Hotel\build\classes\com\kd\controller\EvaluateServlet1.class
............此处省略1111个文件信息

评论

共有 条评论