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 Validator Framework and BigDecimal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validator Framework and BigDecimal" Watch "Validator Framework and BigDecimal" New topic

Validator Framework and BigDecimal

Gangrade Sumit

Joined: Jan 07, 2004
Posts: 3
I am having problem with validating BigDecimal using Struts Validator framework. Does any one have any clue on this to do it.
String validations are working fine.
Rick Hightower
Ranch Hand

Joined: Feb 20, 2002
Posts: 350
Struts has support for validating all the primitive types. If you one about a big decimal, you could write your own custom validator rule.
See the book "Professional Struts" written by James Goodwill and Rick Hightower for step-by-step instructions for creating your own custom validator rule. Alternatively, you look at the source code for the existing validator rules.

Rick Hightower is CTO of Mammatus which focuses on Cloud Computing, EC2, etc. Rick is invovled in Java CDI and Java EE as well. linkedin,twitter,blog
Have you checked out Aspose?
subject: Validator Framework and BigDecimal
It's not a secret anymore!