I got the same problem a few days ago, solved using the Conversion Validator: http://www.mail-archive.com/user@struts.apache.org/msg60494.html
HTH P. ----- Original Message ----- From: "Jon Wilmoth" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Thursday, June 14, 2007 10:50 PM Subject: [S2] int validator for longs? >I noticed there's only two bundled numeric data type validator (int, >double). Is there any reason the S2 "int" validator can't be used for long >field validations (or other data types w/out decimals)? > > p.s. The http://struts.apache.org/2.x/docs/validation.html page is missing > a link for the double type details similar to the one that's available for > int (http://struts.apache.org/2.x/docs/int-validator.html). I'm assuming > the com.opensymphony.xwork2.validator.validators.DoubleRangeFieldValidator > javadocs accurately describe the configurable params. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]