This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 60810
    
  65

"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
 
Similar Threads
Programmers Available...
restrict the file.
Modulo operator
know all the context names within the web container
Total search fails