class="java" name="code"> public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception { ........ response.sendRedirect("photohouxuandetail.do?pid="+pid); return null; }
return new ModelAndView("redirect:photohouxuandetail.do?pid="+pid);