struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Mitchell" <jmitch...@apache.org>
Subject Re: Getting name of form bean?
Date Mon, 16 May 2005 13:36:55 GMT
That's easy with the html:struts taglib:

<bean:struts id="myActionMapping" mapping="/Some/Mapping/Path"/>
<bean:write name="myActionMapping" property="name"/>



--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   jmitchell@apache.org




----- Original Message ----- 
From: "John Moore" <john@jmsd.co.uk>
To: "Struts Mailing List" <user@struts.apache.org>
Sent: Monday, May 16, 2005 8:09 AM
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  -  john@jmsd.co.uk
> ==============================================
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message