/* * 按作者查 */ public String findByAuthor(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException, SQLException { int pc = getPc(req); String url = getUrl(req); String author = req.getParameter("author"); PageBean<Book> pb = bookService.findByAuthor(author, pc); pb.setUrl(url); req.setAttribute("pb", pb); return "f:/jsps/book/list.jsp"; }