Hi,
Try to use bean:define to define a variable from the FormBean
I think <bean:define id="variableName" name="FormBeanName"
property="propertyBeanName" />

But you better check the documentation for the bean:define tag

Hope this helps

Regards
Sakis

----- Original Message -----
From: "Souravmay Das" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 7:35 AM
Subject: How to access Form object from my -JSP


> Hi,
>             I have a JSP which get redirected from the Controller servlet
> now how do
> I access the Form objects from Tag class.
>
> Now my struts-config looks some thing like this
>
> <form-beans>
>     <form-bean      name="logonForm"
> type="org.apache.struts.example.LogonForm"/>
> </form-beans>
> <action    path="/logoff"  type="org.apache.struts.example.LogoffAction">
>       <forward name="success"              path="/index.jsp"/>
> </action>
>
> Now in index.jsp I have a tag which tries to get some thing from the
> LogonForm.
>
> How can I get the form object from my custom Tag.
>
> Any idea , how to make it work.
>
> Regards,
> Sourav Das
>
>


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

Reply via email to