chain.doFilter(req, respWrapper);
}
// trigger doAfterRequest event
application.doAfterRequest(context, formModel);
// do finish
respWrapper.doFinish();
} catch (Throwable e) {
_cat.warn("Do filter failed!", e);
application.doError(context, e);
doErrorPage(filterConfig, req, respWrapper, e);
}