资源简介

账号:2 密码:77778888

资源截图

代码片段和文件信息

package book;

import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;

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

import connect.Connect;

public class admin_book extends HttpServlet {

public void doGet(HttpServletRequest request HttpServletResponse response)
throws ServletException IOException {
request.setCharacterEncoding(“utf-8“);
response.setContentType(“text/html;charset=utf-8“);
PrintWriter out = response.getWriter();
Connect con=new Connect();
con.getConnection();
ArrayList books=con.getBook();
if(books!=null){
request.getSession().setAttribute(“books“ books);
response.sendRedirect(“../book/admin_book.jsp“);
}

}

public void doPost(HttpServletRequest request HttpServletResponse response)
throws ServletException IOException {

response.setContentType(“text/html;charset=utf-8“);
request.setCharacterEncoding(“utf-8“);
this.doGet(request response);
}

}

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

     文件        529  2020-06-18 12:36  bookSystem\.classpath

     文件        303  2020-11-19 21:16  bookSystem\.mymetadata

     文件       1753  2020-06-18 12:44  bookSystem\.project

     文件        500  2020-06-18 12:36  bookSystem\.settings\.jsdtscope

     文件        395  2020-06-18 12:36  bookSystem\.settings\org.eclipse.jdt.core.prefs

     文件        468  2020-06-18 12:36  bookSystem\.settings\org.eclipse.wst.common.component

     文件        252  2020-06-18 12:36  bookSystem\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2020-06-18 12:36  bookSystem\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2020-06-18 12:36  bookSystem\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件      11224  2020-11-29 22:01  bookSystem\library.sql

     文件       1122  2020-06-21 20:41  bookSystem\src\book\admin_book.java

     文件       2763  2020-06-27 14:21  bookSystem\src\book\admin_bookAdd.java

     文件       1512  2020-06-21 19:25  bookSystem\src\book\admin_bookDelete.java

     文件       1412  2020-06-21 19:22  bookSystem\src\book\admin_bookMessage.java

     文件       2003  2020-06-20 23:48  bookSystem\src\book\admin_bookUpdate.java

     文件       2106  2020-06-22 13:14  bookSystem\src\book\Book.java

     文件       1023  2020-06-24 22:43  bookSystem\src\book\Button.java

     文件       1221  2020-06-24 22:09  bookSystem\src\book\reader_book.java

     文件       1185  2020-06-24 21:53  bookSystem\src\book\reader_bookMessage.java

     文件      11745  2020-06-27 14:41  bookSystem\src\connect\Connect.java

     文件       1055  2020-06-24 21:50  bookSystem\src\lend\admin_lend.java

     文件       1485  2020-06-22 09:52  bookSystem\src\lend\admin_lendDelete.java

     文件        813  2020-06-22 08:52  bookSystem\src\lend\lend.java

     文件       1654  2020-06-24 22:40  bookSystem\src\lend\reader_backBook.java

     文件       1652  2020-06-24 22:40  bookSystem\src\lend\reader_lendBook.java

     文件       1462  2020-06-25 12:55  bookSystem\src\lend\reader_lendMessage.java

     文件        556  2020-06-22 13:48  bookSystem\src\login\loginBean.java

     文件       3516  2020-06-22 13:11  bookSystem\src\login\LoginCheck.java

     文件       3194  2020-06-25 13:26  bookSystem\src\password\passwordUpdate.java

     文件       1055  2020-06-21 21:45  bookSystem\src\reader\admin_reader.java

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

评论

共有 条评论