aspose file tools*
The moose likes Struts and the fly likes it is possible to do validations through Form class and Validations.xml file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "it is possible to do validations through Form class and Validations.xml file?" Watch "it is possible to do validations through Form class and Validations.xml file?" New topic
Author

it is possible to do validations through Form class and Validations.xml file?

sivasakam kumarsakam
Greenhorn

Joined: Sep 07, 2007
Posts: 21
i want to do validations through Form (using validate method)class and validation.xml. it is possible? if possible how?
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Try it.
ValidatorForm has validate() method, so you can override it.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: it is possible to do validations through Form class and Validations.xml file?
 
Similar Threads
Can We do two types validations on same?
Validating some extra fields of action form not in my jsp?
Different Types of Form beans in struts
struts validation
No validation before LookupDispatchAction