File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes what is difference between DynaValidatorForm and DynaValidatorActionForm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic
Author

what is difference between DynaValidatorForm and DynaValidatorActionForm

kiran kumar
Greenhorn

Joined: Feb 07, 2005
Posts: 29
hi,


what is the difference between DynaValidatorForm and DynaValidatorActionForm in Struts.Is DynaValidatorActionForm is in struts1.2?

please give me reply
sudhakar Tadepalli
Ranch Hand

Joined: Dec 27, 2001
Posts: 130
As I know both are used for implimenting Strurs validation module.

If you extende your formBean to DynaValidationForm you can use form name in validation.xml
If you you extende your formBean to DynaValidationAction form then you can use action path in your validation.xml file.This will be useful if you are using the same form bean for multiple actions and you want to validatate some of the attributes in each action.

I don't know what are the other differences.

Sudhakar
Jason Menard
Sheriff

Joined: Nov 09, 2000
Posts: 6450
Kiran,

You have been warned multiple times about our naming policy. I will be locking this thread. I will unlock it when you edit your display name. If you still refuse to comply with our policies, then your account will be locked altogether.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is difference between DynaValidatorForm and DynaValidatorActionForm