Details
Description
A FormBean containing properties of type 'int' or 'long' are incorrectly parsed
or handled.
If a jsp page contains a text field mapped to the formbean int property and the
user enters a string (e.g. "AB"), struts tries to convert this value to an int,
fails and then puts in the default value.
This leads to incorrect handling of data.
Instead, an error or exception should be thrown to indicate that the value is
not of type int or long.