session
.setAttribute(HtmlResponseWriter.OPTION_KEY,
options);
}
ViewRender viewRender = ViewRenderRegister.getInstance()
.getViewRender(pageInfo);
// 如果模板文件存在,则调用相应的渲染器进行结果的渲染
if (viewRender != null) {
viewRender.render(out, annotation, httpResult,charset);
} else {
writeTextPlain(out, httpResult);
}
}
} catch (Exception e) {