Also, if the user leaves the <html:text> field for BigDecimal as blank, I
get an exception (string->BigDecimal conversion exception). So, is the
solution to this is to make all formbean properties to be "String" type?

you coud do something like
BigDecimal bigDecimalProperty;
public setBigDecimalProperty(String value)
{
try {
bigDecimalProperty = new BigDecimal(value);
}catch(Exception e) {
bigDecimalProperty = new BigDecimal(somedefaultval);
}
}




--
Puneet

Reply via email to