From: "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]>

How can I list/print on a JSP all the variables and their values of the current user session?

For debugging during development, I keep this JSP around and include it in my overall layout tile so it shows up at the bottom of every page. It lists all the request params and attributes in all the scopes, plus cookies:
   http://wiki.wsmoak.net/cgi-bin/wiki.pl?DebugJSP

I forget where I found it originally, it was done with scriptlets, then I got help converting it to pure JSTL.

Better yet, how can I log it to a file.

That would best be done in a Filter... see if Frank has something useful in Java Web Parts: http://javawebparts.sourceforge.net/

--
Wendy Smoak


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to