First form has among other things:
two attributes of the type formB1 & formB2 (with the accessors getFormB1 &
getFormB2).
The fields in the forms are then named :
 _ formB1.name, formB1.surname
 _ formB2.name, formB2.surname


Don't forget to instanciate in the FormABean the two "sub" beans.

\T,


> I am unable to find a solution or an alternate way of having multiple
> forms in one jsp and upon submit one action handling all forms.The jsp
> will have the forms as follows:
>
> <html:form>
>       <%-- first form stuff -- using formA --%>
>       <html:form>
>               <%-- second form stuff -- using formB1 --%>
>       </html:form>
>       <html:form>
>               <%-- third form stuff -- using formB2 --%>
>       </html:form>
> </html:form>
>
> How do I indicate to the action that it depends on two forms? Or should
> I be using nested forms? Which I can't find docs or HOWTO for? I would
> be thankful for any help?
>
> Shedrick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-- 
Thomas SMETS
rue J. Wytsmanstraat 62
1050 Brussels



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to