jQuery in Action, 3rd edition
The moose likes Struts and the fly likes what exactly is actionform Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "what exactly is actionform" Watch "what exactly is actionform" New topic

what exactly is actionform

deepak carter
Ranch Hand

Joined: Feb 19, 2011
Posts: 165
What exactly is a actionform...is a from with which the user interact?
Shankar Tanikella
Ranch Hand

Joined: Jan 30, 2011
Posts: 329

Action form is somewhat a data transfer object used to collect the data from UI (done within the struts framework) and provide it in your Action Class and vise verse.
However, this turned to be one drawbacks in the Struts 1.x since most of the applications using struts (=>which follow the MVC model) already have similar domain objects to transfer data from action to data access layer (=>duplication and unnecessary code). This was not the case in Struts 2 (major of xwork). But I personally like it.

Have Fun with Java
little,little.. little by little makes a lot..
I agree. Here's the link: http://aspose.com/file-tools
subject: what exactly is actionform
It's not a secret anymore!