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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring 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.
 
wood burning stoves
 
subject: Struts 2 + ActionForms