This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Issue: I am performing integer validation for a field which is bound to a backing bean field of type "int". For this field I have given integer commons validator tag (<val:integer/>). When I enter a non-integer value for this field and submit the form, I get a "Conversion error occurred" error message in the page instead of the specific error thrown from commons validator. It is because the JSF performs the conversion before validation and hence the conversion error is thrown. Can anyone suggest a way(if any) to overcome this issue and throw the specific error of commons validator?