You can use the form bean in jsp through the various struts tags.
Struts puts the form bean in request scope automatically  and thus all
you have to do to use form bean is by declaring the form bean in
<nested:root> tag

E.g suppose you had myactionform as the form bean which had an attribute
name(say it is string)
Then you can use it simply as follows:

<nested:root name="myactionform">
<nested:write property="name"/>
</nested:root>


Hope it helps

Thanks,
Satish
-----Original Message-----
From: Bussie, Andre D [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 04, 2004 5:45 PM
To: [EMAIL PROTECTED]
Subject: Form Bean in JSP


Is it possible for a Form Bean to be used in a JSP if so how is it done?
Any resources or examples demonstrating this. Thanks

 

Andre' D. Bussie

Sourcing Rotational Program 

MAC-MAR

532 Fellowship Rd

Moorestown, NJ 08057

856.787.3273 

856.952.7325 - Cell

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

 


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

Reply via email to