try{




}catch(Exception e){ atg.nucleus.logging.ApplicationLogging log = request.getLog(); log.logWarning("Catch the follow Exception :" + e.toString() + "[ErrorPage="+ request.getParameter("NowPageUrl") + "]"); String url = request.getParameter("errorPageUrl"); if(url == null || url.equals("")){ return; } response.sendLocalRedirect(url,request); }