public class ContextUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACTION |
static String |
BASE |
static String |
OGNL |
static String |
REQUEST |
static String |
RESPONSE |
static String |
SESSION |
static String |
STACK |
static String |
STRUTS |
Constructor and Description |
---|
ContextUtil() |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
getStandardContext(ValueStack stack,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
static String |
getTemplateSuffix(Map context)
Returns a String for overriding the default templateSuffix if templateSuffix is on the stack
|
static boolean |
isUseAltSyntax(Map context)
Return true if either Configuration's altSyntax is on or the stack context's useAltSyntax is on
|
public static final String REQUEST
public static final String RESPONSE
public static final String SESSION
public static final String BASE
public static final String STACK
public static final String OGNL
public static final String STRUTS
public static final String ACTION
public static Map<String,Object> getStandardContext(ValueStack stack, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
public static boolean isUseAltSyntax(Map context)
context
- stack's contextCopyright © 2000–2020 Apache Software Foundation. All rights reserved.