return false; //not support ALLOW_DIRECT_INCLUDE
}
public void service(HttpServletRequest request,
HttpServletResponse response, String path)
throws ServletException, IOException {
final Session sess = WebManager.getSession(getServletContext(), request);
final PageDefinition pagedef = (PageDefinition)_cache.get(path);
if (pagedef == null) {
//FUTURE: support the error page (from Configuration)
handleError(sess, request, response, path, null);
return;
}
//mimic DHtmlLayoutServlet to process PageDefinition
final Object old = I18Ns.setup(sess, request, response,
sess.getWebApp().getConfiguration().getResponseCharset());
try {
process(sess, request, response, pagedef, path);
} catch (Throwable ex) {
handleError(sess, request, response, path, ex);
} finally {