Re: Struts 2 -Big Decimal auto conversion issue

2012-05-06 Thread Dave Newton
Because it uses the default BigDecimal parsing. Options include: * Using an interceptor to strip leading/trailing spaces from form elements before type conversion * Using a custom type converter that does basically the same thing * Etc. Dave On Sun, May 6, 2012 at 9:53 AM, George Eapen wrote:

Struts 2 -Big Decimal auto conversion issue

2012-05-06 Thread George Eapen
Dear All, Big Decimal auto conversion fails when an empty string is received.Excerpt of the stack given below. /-- Encapsulated exception \ java.lang.NoSuchMethodException: com.path.ConvTest.setId([Ljava.lang.String;) at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1206) a