wood burning stoves 2.0*
The moose likes Struts and the fly likes DynaValidatorForm vs DynaValidatorActionForm what's the difference? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "DynaValidatorForm vs DynaValidatorActionForm what Watch "DynaValidatorForm vs DynaValidatorActionForm what New topic
Author

DynaValidatorForm vs DynaValidatorActionForm what's the difference?

dave sag
Ranch Hand

Joined: Feb 17, 2003
Posts: 47
I am a bit confised about whn I would use a DynaValidatorActionForm vs a DynaValidatorForm. The only difference that I can see is that in the DynaValidatorActionForm (which extends DynaValidatorForm) is that in the validate method it calls

whereas in DynaValidatorForm the validate method calls

the key difference seems to be use of mapping.getPath() rather than mapping.getAttribute()
could someone explain what the differences are and why you would choose to use one over the other.


JSF / Jini / Javaspaces / JDO - all rock in my opinion.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
This might help:
http://www.manning.com/ao/readforum.html?forum=siaao&readthread=422


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Amy Smith
Greenhorn

Joined: Jul 26, 2001
Posts: 24
My understanding is that DynaValidatorActionForm will let you define different validations for different actions that share the same form. With DynaValidatorForm all actions that share the form must share the validation.


Amy Smith<br />Java Developer<br />Haworth, Inc.<br />amy.smith@haworth.com
 
 
subject: DynaValidatorForm vs DynaValidatorActionForm what's the difference?
 
Similar Threads
Still not working - DynaValidatorActionForm and checkboxes
DynaValidatorActionForm and checkboxes
Strage: DynaValidatorActionForm vs DynaValidatorForm
DynaValidatorActionForm
DynaValidatorActionForm not working