Package org.apache.catalina.manager
Class JspHelper
java.lang.Object
org.apache.catalina.manager.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. :)
- Author:
- Cédrik LIME
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static String
Performs the following substring replacements (to facilitate output to XML/HTML pages): & -> & < -> < > -> > " -> " ' -> '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)
-
Method Details
-
guessDisplayLocaleFromSession
-
guessDisplayUserFromSession
-
getDisplayCreationTimeForSession
-
getDisplayLastAccessedTimeForSession
-
getDisplayUsedTimeForSession
-
getDisplayTTLForSession
-
getDisplayInactiveTimeForSession
-
secondsToTimeString
-
escapeXml
-
escapeXml
-
formatNumber
-