org.apache.catalina.manager
public class JspHelper extends Object
Method Summary | |
---|---|
static String | escapeXml(Object obj) |
static String | escapeXml(String buffer)
Performs the following substring replacements
(to facilitate output to XML/HTML pages):
& -> &
< -> <
> -> >
" -> "
' -> '
See also OutSupport.writeEscapedXml(). |
static String | formatNumber(long number) |
static String | getDisplayCreationTimeForSession(Session in_session) |
static String | getDisplayInactiveTimeForSession(Session in_session) |
static String | getDisplayLastAccessedTimeForSession(Session in_session) |
static String | getDisplayTTLForSession(Session in_session) |
static String | getDisplayUsedTimeForSession(Session in_session) |
static String | guessDisplayLocaleFromSession(Session in_session)
Try to get user locale from the session, if possible.
|
static String | guessDisplayUserFromSession(Session in_session)
Try to get user name from the session, if possible. |
static String | secondsToTimeString(long in_seconds) |
Parameters: in_session
Returns: String
Parameters: in_session
Returns: String