Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what exactly is actionform

 
deepak carter
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly is a actionform...is a from with which the user interact?
 
Shankar Tanikella
Ranch Hand
Posts: 329
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic