aspose file tools
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

Win a copy of Head First Android this week in the Android forum!
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
I agree. Here's the link:
subject: Validator Framework and BigDecimal
jQuery in Action, 3rd edition