This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 2904
    
    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?
 
It's not a secret anymore!