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 SummaryClassDescriptionAn extension of SimpleHash that looks up keys in the hash, then in the request, session, and servlet context scopes.FreeMarker MVC View servlet that can be used similarly to JSP views.TemplateHashModel wrapper for a HttpServletRequest attributes.TemplateHashModel wrapper for a HttpServletRequest parameters.TemplateHashModel wrapper for a HttpSession attributes.A model that when invoked with a 'path' parameter will perform a servlet include.TemplateHashModel wrapper for a ServletContext attributes.