<%@page session="false" contentType="text/html; charset=ISO-8859-1" %> <%@page import="java.util.Collection" %> <%@page import="java.util.Iterator" %> <%@page import="org.apache.catalina.manager.JspHelper" %> <%@page import="org.apache.catalina.Session" %> <% String path = (String) request.getAttribute("path"); String submitUrl = ((HttpServletRequest)pageContext.getRequest()).getRequestURL().append("?path=").append(path).toString(); Collection activeSessions = (Collection) request.getAttribute("activeSessions"); %> Sessions Administration for <%= path %>

Sessions Administration for <%= path %>

Tips:

<%= JspHelper.escapeXml(request.getAttribute("error")) %>
<%= JspHelper.escapeXml(request.getAttribute("message")) %>
Active HttpSessions informations "/> <% String order = (String) request.getAttribute("order"); if (order == null || "".equals(order)) { order = "ASC"; } %> <%= JspHelper.formatNumber(activeSessions.size()) %> active Sessions
<% if (activeSessions.size() > 10) { %> <%-- is the same as --%> <% } // end if %> <% Iterator iter = activeSessions.iterator(); while (iter.hasNext()) { Session currentSession = (Session) iter.next(); String currentSessionId = currentSession.getId(); %> <% } // end while %>
Session Id Guessed Locale Guessed User name Creation Time Last Accessed Time Used Time Inactive Time TTL
Session Id Guessed Locale Guessed User name Creation Time Last Accessed Time Used Time Inactive Time TTL
<%= JspHelper.escapeXml(currentSessionId) %> <%= JspHelper.guessDisplayLocaleFromSession(currentSession) %> <%= JspHelper.guessDisplayUserFromSession(currentSession) %> <%= JspHelper.getDisplayCreationTimeForSession(currentSession) %> <%= JspHelper.getDisplayLastAccessedTimeForSession(currentSession) %> <%= JspHelper.getDisplayUsedTimeForSession(currentSession) %> <%= JspHelper.getDisplayInactiveTimeForSession(currentSession) %> <%= JspHelper.getDisplayTTLForSession(currentSession) %>

<%--div style="display: none;">

Valid HTML 4.01! Valid XHTML 1.0! Valid XHTML 1.1!