Hi all,
Is there a way to simply print out session values, such as through the
bean:write tag or something like that? If there is, could you please
share? It seems like it should be easily done, but I can't find
anything that describes how to.
Thanks!
Andy
--
CTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 07, 2004 12:03 PM
Subject: Easily printing out session values
> Hi all,
>
> Is there a way to simply print out session values, such as through the
> bean:write tag or something like that? If there is, could you please
>
Seems the attachment was stripped...
Here it is:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/struts-html.tld"prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld"prefix=
Andy,
Put this in your jsp page. If you create a JSP
template file that includes this code and then use it
as a basis for developing new JSP pages, you will be
able to see what is in your request, session and
ActionMessages. I found it in this article on
javaboutique by Keld H. Hanson:
http://javab
You could use the page tag to expose the session as a variable:
The you could use for example
Niall
- Original Message -
From: "Andy Engle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 07, 2004 5:03 PM
Subject: Easily printing out
5 matches
Mail list logo