This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes advantages of form bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "advantages of form bean" Watch "advantages of form bean" New topic
Author

advantages of form bean

Pradeep
Ranch Hand

Joined: Sep 19, 2006
Posts: 49
Hi to all

i have one query regarding form bean

what are the advantages of using form bean in struts application???


thanks in advance
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
If you're using Struts and not using ActionForm beans, you're missing out on about 80 percent of what Struts has to offer. The ActionForm bean provides a way to seamlessly pass data between the HTML layer and the Java layer, with Struts doing most of the work. I'd suggest you read up on ActionForms in chapter 3 of the Struts User Guide.


Merrill
Consultant, Sima Solutions
Pradeep
Ranch Hand

Joined: Sep 19, 2006
Posts: 49
thanks Merrill
Satyajeet Kadam
Ranch Hand

Joined: Oct 19, 2006
Posts: 215
ActionForm is responsiable for carring data to an Action class.
It populates data on the server side.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: advantages of form bean