To list the attribute keys and values in the request use something like this (works equally well sessionScope and applicationScope):
<c:forEach items="${requestScope}" var="itm"> <tr> <td><c:out value="${itm.key}"/></td> <td colspan="2"> <textarea rows="2" cols="50"> <c:out value="${itm.value}"/> </textarea> </td> </tr> </c:forEach>
-Bill Siggelkow
Abdullah Jibaly wrote:
Hi again,
I'm actually trying to get the form name, or a reference to the object, from the JSP page. Also, how can I (using JSTL) get a list of all attributes and their values in request, session, and app scope from the JSP page also?
Thanks again, Abdullah
-----Original Message-----
From: Abdullah Jibaly Sent: Wednesday, December 15, 2004 3:25 PM
To: Struts Users Mailing List
Subject: actionform session attribute name
Hi,
How can I get the actionform name from the session?
Thanks, Abdullah
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]