aspose file tools*
The moose likes Struts and the fly likes Struts 1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1" Watch "Struts 1" New topic
Author

Struts 1

chethan sk
Greenhorn

Joined: Aug 09, 2008
Posts: 1
Hi Dave,
can you tell me the importance and significance of validatorActionForm and its applications?

Can you please tell me the scenarios it can be used?
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
Since Dave's book is about Struts 2 I will take this one...

Do you understand the validation framework and ValidatorForm? The difference between the two form classes is that ValidatorForm is based of the name of the form and ValidatorActionForm is based off the name of the action. I do not recall ever using ValidatorActionForm, but the two give you a little more flexibility in your validation...say if you have multiple actions that use the same form and you want the validation to be different.

The second hit on a Google search looks pretty good:
http://www.laliluna.de/struts-validatoraction-form-tutorial.html

- Brent
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

"chethan sk", please check your private messages for an important administrative matter.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 1