Example #1
0
 /*
  * 按出书名查
  */
 public String findByBname(HttpServletRequest req, HttpServletResponse resp)
     throws ServletException, IOException, SQLException {
   int pc = getPc(req);
   String url = getUrl(req);
   String bname = req.getParameter("bname");
   PageBean<Book> pb = bookService.findByBname(bname, pc);
   pb.setUrl(url);
   req.setAttribute("pb", pb);
   return "f:/jsps/book/list.jsp";
 }