File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts 2 + ActionForms Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Struts 2 + ActionForms
 
Similar Threads
MapBacked ActionForms and DynaActionForm
struts as MVC
Uncehecking a checked property
How many tables and ActionForms and Action classes required for 5 screens
Should we use ActionForms on the way back?