It turns out that the problem I was having - had nothing to do with
type conversion.
The problem was a chunk of my code that was responsible for formatting.
Specifically, the exception "IllegalArgumentException: Cannot format
given Object as a Number" was thrown because of
(format.money i
It turns out that the problem I was having - had nothing to do with
type conversion.
The problem was a chunk of my code that was responsible for formatting.
Specifically, the exception "IllegalArgumentException: Cannot format
given Object as a Number" was thrown because of
(format.money i
While having done the same with struts 2.0 blank project - work perfectly well.
Also works if i add the code to struts2-showcase (validation folder).
The problem is as follows:
I tried to add double validation to 2.1.6 blank project and if i type in form
illegal value - say 'aaa' - instead of
While having done the same with struts 2.0 blank project - work
perfectly well. Also works if i add the code to struts2-showcase
(validation folder).
The problem is as follows:
I tried to add double validation to 2.1.6 blank project and if i type
in form illegal value - say 'aaa' - instead of sho
4 matches
Mail list logo