文档详情

第七章Struts框架中的异常处理 update.pdf

发布:2015-09-18约6.1千字共13页下载文档
文本预览下载声明
IT Education TrainingIT Education Training Beyond Technology Struts Copyright2007 © IT Education Training Struts IT Education Training Struts1.1Struts – – IT Education Training Struts IT Education Training 1ActionServlet protected void process(HttpServletRequest request,HttpServletResponse response) throws IOException,ServletException{ ModuleUtils.getInstance.selectModule(request,getServletContext()); getRequestProcessor(getModuleConfig(request).process(request,response); }process() 2RequestProcessor – process()Actionexecute() execute() – public void process(HttpServletRequest request,HttpServletResponse response) – throws IOException,ServletException{ – ... – //call the Action instance itself – ActionForward forward = processActionPerform(request,response,action,form,mapping); – ... – } – protected ActionForward processActionPerform(HttpServletRequest request,HttpServletResponse response, – Action action,ActionForm form,ActionMapping mapping) – throws I
显示全部
相似文档