freemarker.ext.servlet (FreeMarker 2.3.35 API)
Description: declaration: package: freemarker.ext.servlet

# Package freemarker.ext.servlet

package freemarker.ext.servlet
Servlet for legacy "Model 2" frameworks that allows using FreeMarker templates instead of JSP as the MVC View (see in the Manual).

Note that there are two variants of this package: One for the legacy "javax" Servlet API is `freemarker.ext``.servlet`, and another for the newer Jakarta Servlet API is `freemarker.ext``.jakarta.servlet` (since 2.3.33). Use the variant that fits your Servlet container!

- Class Summary
  Class
  Description
  AllHttpScopesHashModel
  An extension of SimpleHash that looks up keys in the hash, then in the request, session, and servlet context scopes.
  FreemarkerServlet
  FreeMarker MVC View servlet that can be used similarly to JSP views.
  HttpRequestHashModel
  TemplateHashModel wrapper for a HttpServletRequest attributes.
  HttpRequestParametersHashModel
  TemplateHashModel wrapper for a HttpServletRequest parameters.
  HttpSessionHashModel
  TemplateHashModel wrapper for a HttpSession attributes.
  IncludePage
  A model that when invoked with a 'path' parameter will perform a servlet include.
  ServletContextHashModel
  TemplateHashModel wrapper for a ServletContext attributes.