Try this in your JSP: 

<%
        if (true) {  //turn output on and off

                Enumeration e = session.getAttributeNames();
                while (e.hasMoreElements()) {
                        String name  = (String)e.nextElement();
                        Object value = session.getAttribute(name);
%>
<B><%= name %> = </B><%= value %><BR>
<%
                }
        }
%>


--- C Cayetano <[EMAIL PROTECTED]> wrote:
> All,
> 
> Is there a wat to get a listing of all session variables and their
> values?
> 
> Thanks
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to