Thank you Wendy

For all,

In JSP pages using the Struts Taglib, attributes of DynaActionForm objects
can be referenced just like ordinary ActionForm objects. Wherever a Struts
tag refers to a "property", the tags will automatically use the
DynaActionForm properties just like those of a conventional JavaBean.

So the code becomes

<bean:write scope="session" name="SubscriptionProcessForm"
property="country"/>

Thanks again.
Ed


-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 30, 2006 2:35 PM
To: Struts Users Mailing List
Subject: Re: Retrieving DynaValidatorForm values with JSTL

On 11/30/06, Edward Song <[EMAIL PROTECTED]> wrote:

> I have a form stored within the session and am trying to dump some of 
> the Form values in the presentation using JSTL.
> Specifically something like
>
> Country : <c:out 
> value="${sessionScope.SubscriptionProcessForm.country}"/>

See 4.3.1 on http://struts.apache.org/1.x/userGuide/building_controller.html

--
Wendy

---------------------------------------------------------------------
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]

Reply via email to