|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.manager.JspHelper
public class JspHelper
Helper JavaBean for JSPs, because JSTL 1.1/EL 2.0 is too dumb to to what I need (call methods with parameters), or I am too dumb to use it correctly. :)
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String guessDisplayLocaleFromSession(Session in_session)
in_session
-
public static String guessDisplayUserFromSession(Session in_session)
in_session
-
public static String getDisplayCreationTimeForSession(Session in_session)
public static String getDisplayLastAccessedTimeForSession(Session in_session)
public static String getDisplayUsedTimeForSession(Session in_session)
public static String getDisplayTTLForSession(Session in_session)
public static String getDisplayInactiveTimeForSession(Session in_session)
public static String secondsToTimeString(long in_seconds)
public static String escapeXml(Object obj)
public static String escapeXml(String buffer)
public static String formatNumber(long number)
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |