File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes What is DynaAction ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "What is DynaAction ?" Watch "What is DynaAction ?" New topic

What is DynaAction ?

amit bhadre
Ranch Hand

Joined: Jan 23, 2006
Posts: 124
What is dynaAction form? or what it is?

Thanks advance who ever answers this question.

amit bhadre
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3640
Not sure, but may be related to Struts.

My blood is tested +ve for Java.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

Moved to the Struts forum.

[Asking smart questions] [About Bear] [Books by Bear]
Mishra Anshu
Ranch Hand

Joined: Sep 16, 2003
Posts: 224
An ActionForm represents an HTML form that the user interacts with over one or more pages. You will provide properties to hold the state of the form with getters and setters to access them.
Maintaining a separate concrete ActionForm class for each form in your Struts application is time-consuming. It is particularly frustrating when all the ActionForm does is gather and validate simple properties that are passed along to a business JavaBean.

This bottleneck can be alleviated through the use of DynaActionForm classes. Instead of creating a new ActionForm subclass and new get/set methods for each of your bean's properties, you can list its properties, type, and defaults in the Struts configuration file.

"Ignorance is bliss"
amit bhadre
Ranch Hand

Joined: Jan 23, 2006
Posts: 124

["If C & C++ are sea and Java is Ocean/Galaxies/ whole Universe"]

amit bhadre
Muthu Lakshmi

Joined: Mar 07, 2006
Posts: 6

i heard that validation in ActionForm can be used only to validate the form data on the client browser and server side validation can be accomplished with the use of "DynaValidatorForm".

What is this "DynaValidatorForm" and how to use the same?
Does this comes along with the Struts Framework?

Muthu Lakshmi
I agree. Here's the link:
subject: What is DynaAction ?
jQuery in Action, 3rd edition