| |
|
| java.lang.Object org.apache.catalina.manager.JspHelper
JspHelper | public class JspHelper (Code) | | 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 |
escapeXml | public static String escapeXml(String buffer)(Code) | | Performs the following substring replacements
(to facilitate output to XML/HTML pages):
& -> &
< -> <
> -> >
" -> "
' -> '
See also OutSupport.writeEscapedXml().
|
formatNumber | public static String formatNumber(long number)(Code) | | |
getDisplayCreationTimeForSession | public static String getDisplayCreationTimeForSession(Session in_session)(Code) | | |
getDisplayInactiveTimeForSession | public static String getDisplayInactiveTimeForSession(Session in_session)(Code) | | |
getDisplayLastAccessedTimeForSession | public static String getDisplayLastAccessedTimeForSession(Session in_session)(Code) | | |
getDisplayUsedTimeForSession | public static String getDisplayUsedTimeForSession(Session in_session)(Code) | | |
guessDisplayLocaleFromSession | public static String guessDisplayLocaleFromSession(Session in_session)(Code) | | Try to get user locale from the session, if possible.
IMPLEMENTATION NOTE: this method has explicit support for Tapestry 3 and Struts 1.x
Parameters: in_session - String |
guessDisplayUserFromSession | public static String guessDisplayUserFromSession(Session in_session)(Code) | | Try to get user name from the session, if possible.
Parameters: in_session - String |
secondsToTimeString | public static String secondsToTimeString(long in_seconds)(Code) | | |
|
|
|