base/struts-tools/src/main/com/thesett/common/webapp/tags/DebugTag.java
public String getSessionScope()
    {
        Map info = new TreeMap();
        HttpServletRequest req = (HttpServletRequest) pageContext.getRequest();
        HttpSession session = req.getSession();
        Enumeration names = session.getAttributeNames();

        while (names.hasMoreElements())
        {
            String name = (String) names.nextElement();
            Object value = session.getAttribute(name);

            info.put(name, toStringValue(value));
        }

        return toHTMLTable("session scope", info);
    }
public String getSessionScope()
    {
        Map info = new TreeMap();
        HttpServletRequest req = (HttpServletRequest) pageContext.getRequest();
        HttpSession session = req.getSession();
        Enumeration names = session.getAttributeNames();

        while (names.hasMoreElements())
        {
            String name = (String) names.nextElement();
            Object value = session.getAttribute(name);

            info.put(name, toStringValue(value));
        }

        return toHTMLTable("session scope", info);
    }
Returns a String with all session scope variables.

@return A String with all session scope variables.