It doesn't matter, a DynaActionForm has a name just like other action forms.

-----Original Message-----
From: Norr, Peter [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 3:18 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbie question about form variables.


Yes!  But I am using DynaActionForm.

I would also like to query the value submitted from step1.jsp..





-----Original Message-----
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 3:14 PM
To: Struts Users Mailing List
Subject: RE: Newbie question about form variables.


You would use one of the Struts or JSTL or whatever JSP tag you want to
access the FormBean. When a JSP is forwarded to from an Action, a formBean
mapped to that action is stuffed into the session by the name you specified
in your struts config. .  So for example if your formbean had a property
named "state", with a getState() accessor:

<c:out value="${FormBean.state}"/>

Would write out the value of the "state" property

Is this what you meant?

-----Original Message-----
From: Norr, Peter [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 3:02 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbie question about form variables.


Yes I understand.

But how do I acces the Form Bean from the jsp page?

Peter



-----Original Message-----
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 2:40 PM
To: Struts Users Mailing List
Subject: RE: Newbie question about form variables.


one way is to have both pages share a formbean, the first page populates the
formBean with what was entered so the second page can access it.

-----Original Message-----
From: Norr, Peter [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 2:35 PM
To: 'Struts Users Mailing List'
Subject: Newbie question about form variables.


I am developing a wizard style form..

How do I obtain the value submitted in the previous page of a form from the
jsp page?

For example, in step2.jsp I need to know what was selected in step1.jsp.

Thanks!

Peter

----------------------------------------------------------------------------
--
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient
of this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information
is complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.


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


----------------------------------------------------------------------------
--
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient
of this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information
is complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.


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


----------------------------------------------------------------------------
--
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient
of this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information
is complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.



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