org.apache.jasper.tagplugins.jstl
public class Util extends Object
Nested Class Summary | |
---|---|
static class | Util.ImportResponseWrapper Wraps responses to allow us to retrieve results as Strings.
mainly taken from org.apache.taglibs.standard.tag.common.core.importSupport |
Field Summary | |
---|---|
static String | DEFAULT_ENCODING |
static int | HIGHEST_SPECIAL |
static char[][] | specialCharactersRepresentation |
static String | VALID_SCHEME_CHAR |
Method Summary | |
---|---|
static String | escapeXml(String buffer)
Performs the following substring replacements
(to facilitate output to XML/HTML pages):
& -> &
< -> <
> -> >
" -> "
' -> '
See also OutSupport.writeEscapedXml().
taken from org.apache.taglibs.standard.tag.common.core.Util |
static String | getContentTypeAttribute(String input, String name)
Get the value associated with a content-type attribute.
|
static int | getScope(String scope)
Converts the given string description of a scope to the corresponding
PageContext constant.
|
static boolean | isAbsoluteUrl(String url)
Returns true if our current URL is absolute,
false otherwise.
taken from org.apache.taglibs.standard.tag.common.core.ImportSupport |
static String | resolveUrl(String url, String context, PageContext pageContext) Utility methods
taken from org.apache.taglibs.standard.tag.common.core.UrlSupport |
static String | stripSession(String url)
Strips a servlet session ID from url. |
Parameters: scope String description of scope
Returns: PageContext constant corresponding to given scope description taken from org.apache.taglibs.standard.tag.common.core.Util