@RequestMapping(value = "/guestEdit.do")
  public ModelAndView guestEditForm(@RequestParam("idx") int idx) {
    ModelAndView mav = new ModelAndView();
    GuestDTO dto = dao.dbDetail(idx);
    String url = "/WEB-INF/views/guestEdit.jsp";

    mav.addObject("bean", dto);
    mav.setViewName(url);
    return mav;
  } // end
 @RequestMapping(value = "/detail.do")
 // public ModelAndView  guestDetail(@RequestParam("idx") int idx){
 public ModelAndView guestDetail(HttpServletRequest request) {
   System.out.println("\nModelAndView guestDetail(int)");
   ModelAndView mav = new ModelAndView();
   int data = Integer.parseInt(request.getParameter("idx"));
   GuestDTO bean = dao.dbDetail(data);
   System.out.println("넘어온상세 idx = " + data);
   mav.addObject("bean", bean);
   String url = "/WEB-INF/views/guestDetail.jsp";
   mav.setViewName(url);
   return mav;
 } // end