Class JspMvcFeature
- java.lang.Object
-
- org.glassfish.jersey.server.mvc.jsp.JspMvcFeature
-
- All Implemented Interfaces:
Feature
@ConstrainedTo(SERVER) public final class JspMvcFeature extends Object implements Feature
Featureused to add support forMVCand JSP templates. Note: This feature also registersMvcFeature.- Author:
- Michal Gajdos
-
-
Field Summary
Fields Modifier and Type Field Description static StringTEMPLATE_BASE_PATHStringproperty defining the base path to JSP templates.
-
Constructor Summary
Constructors Constructor Description JspMvcFeature()
-
-
-
Field Detail
-
TEMPLATE_BASE_PATH
public static final String TEMPLATE_BASE_PATH
Stringproperty defining the base path to JSP templates. If set, the value of the property is added in front of the template name defined in: Value can be absolute or relative to currentservlet context. There is no default value. The name of the configuration property is "jersey.config.server.mvc.templateBasePath.jsp".- See Also:
- Constant Field Values
-
-
Method Detail
-
configure
public boolean configure(FeatureContext context)
-
-