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 this is for the legacy "javax" Servlet/JSP API; for Jakarta (that is, in modern Servlet containers),
use the freemarker.ext.jakarta.servlet
package instead (since 2.3.33).
-
ClassDescriptionAn 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.