John,
There is no automatic way AFAIK. What I've done is in the action that passes
the request to the form I set:
request.setAttribute("formName", mapping.getName());
then, in the JSP I can do:
<c:set var="form" value="${requestScope[formName]}" />
-Abdullah
-----Original Message-----
From: John Moore [mailto:[EMAIL PROTECTED]
Sent: Monday, May 16, 2005 7:09 AM
To: Struts Mailing List
Subject: Getting name of form bean?
In a JSP which uses html:form, is there any way of determining the name
of the form bean (assuming it's been set in the mapping, of course, not
in the html:form tag!).
TIA
--
==============================================
John Moore - Norwich, UK - [EMAIL PROTECTED]
==============================================
---------------------------------------------------------------------
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]