This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 2 + ActionForms Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 + ActionForms" Watch "Struts 2 + ActionForms" New topic
Author

Struts 2 + ActionForms

Philip Pomario
Ranch Hand

Joined: Oct 03, 2003
Posts: 113
On Struts 1.x I used to write ActionForms to represent Screens and perform some validations. What I've read in a Tutorial is that ActionForms are dead in Struts 2, that getters on the Actions substitute Forms. My first impression is that this might ease development, but hardens reuse of code across multiple screens, and to exchange data from view to business layer.

Am I missing something here? What's your opinion?

Your thoughts are appreciated.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 + ActionForms
 
Similar Threads
struts as MVC
MapBacked ActionForms and DynaActionForm
Uncehecking a checked property
Should we use ActionForms on the way back?
How many tables and ActionForms and Action classes required for 5 screens