//得到书号和书本对象intbookid=Integer.parseInt(request.getParameter("id"));Mapbooks=(Map)request.getSession().getServletContext().getAttribute("books");Bookbook=books.get(bookid);System.out.println(book);//得到数量intbookNum=Integer.parseInt(request.get