struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Aggarwal" <n...@JAMMConsulting.com>
Subject RE: Struts2 Multiple validation for single field
Date Mon, 16 Nov 2009 14:53:15 GMT
Vikrant:

> Here I am able to validate for not null fields. But I also 
> want to validate
> it for the field if not null should be numeric. How Can I do this??
> Please Suggest me possible solution in order to validate both things.

Have you tried making your fields int instead of String?

	Neil


--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your struts app on a CentOS VPS for only $25/month!
Unmetered bandwidth, 7 day no risk trial, Google Checkout


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message