/** * 产生异常 * * @param * @return */ public ActionForward doError( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { demoService.doError(); setOkTipMsg("交易成功", response); return mapping.findForward("exceptionView"); }