The moose likes Struts and the fly likes ActionForm - View or Model ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ActionForm - View or Model ?" Watch "ActionForm - View or Model ?" New topic

ActionForm - View or Model ?

Sandeep Vaid
Ranch Hand

Joined: Feb 27, 2006
Posts: 392
ActionForm is a bean with reset() and validate() functions.

In normal MVC, model is bean which stores data. Now in struts Bean (ActionForm) is a view ?
It is sorta covered in the JavaRanch Style Guide.
subject: ActionForm - View or Model ?
It's not a secret anymore!