In my Struts 2 book, I've now read all about built-in type conversion and
overriding default messages. So I got a useful message now, when the user
enters an alphanumeric value in a field with an underlying int property. But
after the conversion error, Struts goes on validating and the message for
Hi Titus,
This behaviour is the "standard" behaviour of struts 2. Your second
message comes from the conversion error :
http://struts.apache.org/2.1.8.1/docs/conversion-error-interceptor.html
I suppose that your field is of type int (or any number like class).
Struts will in the first try to
2 matches
Mail list logo