@RequestMapping(value = "/printTemplate.bo")
public ModelAndView printTemplate(HttpServletRequest request, BaseRequest breq) {
ModelAndView mav = new ModelAndView();
BaseResponse bres = new BaseResponse(getService().getEcode());
try {
getService().printTemplate(request, breq, bres, mav);
} catch (Exception e) {
setMAVOnException(request, e, mav);
}
if (log.isInfoEnabled()) {
log.info("to : \r\n" + mav.toString());
}
return mav;
}
网友评论