wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
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