com.opensymphony.module.sitemesh.freemarker
Class FreemarkerDecoratorServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
freemarker.ext.servlet.FreemarkerServlet
com.opensymphony.module.sitemesh.freemarker.FreemarkerDecoratorServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class FreemarkerDecoratorServlet
- extends FreemarkerServlet
Servlet that allows Freemarker templates to be used as decorators.
- Version:
- $Revision: 1.2 $
- Author:
- Richard HALLIER
- See Also:
- Serialized Form
Methods inherited from class freemarker.ext.servlet.FreemarkerServlet |
createConfiguration, createModel, createObjectWrapper, createRequestParametersHashModel, createTemplateLoader, deduceLocale, doGet, doPost, getConfiguration, getObjectWrapper, getTemplatePath, init, initializeServletContext, initializeSession, postTemplateProcess, preprocessRequest, requestUrlToTemplatePath |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FreemarkerDecoratorServlet
public FreemarkerDecoratorServlet()
preTemplateProcess
protected boolean preTemplateProcess(HttpServletRequest request,
HttpServletResponse response,
Template template,
TemplateModel templateModel)
throws ServletException,
IOException
- Overrides:
preTemplateProcess
in class FreemarkerServlet
- Throws:
ServletException
IOException