Package org.apache.struts2.views.util
Class ContextUtil
java.lang.Object
org.apache.struts2.views.util.ContextUtil
Value Stack's Context related Utilities.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetStandardContext
(ValueStack stack, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) static String
getTemplateSuffix
(Map<String, Object> context) Returns a String for overriding the default templateSuffix if templateSuffix is on the stack
-
Field Details
-
REQUEST
- See Also:
-
RESPONSE
- See Also:
-
SESSION
- See Also:
-
BASE
- See Also:
-
STACK
- See Also:
-
STRUTS
- See Also:
-
ACTION
- See Also:
-
-
Constructor Details
-
ContextUtil
public ContextUtil()
-
-
Method Details
-
getStandardContext
public static Map<String,Object> getStandardContext(ValueStack stack, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) -
getTemplateSuffix
Returns a String for overriding the default templateSuffix if templateSuffix is on the stack- Parameters:
context
- stack's context- Returns:
- String
-