Discussion:
Validating QueryParam using JSR-303
Rimi
2012-01-03 09:03:41 UTC
Permalink
Hi

What is the most elegant way to make validation on QueryParam? I have 3 int
QueryParam, all are positive. Is there a way to validate them using JSR-303
validators?

I saw the following post about validation of query params:
http://codahale.com/what-makes-jersey-interesting-parameter-classes/

Or maybe using forms, as described here:
http://docs.jboss.org/seam/3/rest/latest/reference/en-US/html/rest.validation.html


thank you

--
View this message in context: http://jersey.576304.n2.nabble.com/Validating-QueryParam-using-JSR-303-tp7146105p7146105.html
Sent from the Jersey mailing list archive at Nabble.com.

Loading...