%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ page import="com.idca.fsim.web.session.SearchBean" %> <%@ page import="java.util.Enumeration" %>
SESSIONID | created | last access | objects |
<%
Enumeration sessionNames = session.getAttributeNames();
while (sessionNames.hasMoreElements()) {
String sessionName = (String)sessionNames.nextElement();
String className = session.getAttribute( sessionName ).getClass().getName();
out.println(sessionName+"("+className+") "); Object object = session.getAttribute(sessionName); if(object instanceof SearchBean) { SearchBean sb = (SearchBean)object; out.println("searched: "+sb.getSearchQuery()+" "); } } %> |