File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic

what is difference between DynaValidatorForm and DynaValidatorActionForm

 
kiran kumar
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 130
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 6450
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
    Bookmark Topic Watch Topic
  • New Topic