struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Mawata <chris_mawata_str...@mathcove.net>
Subject Re: Nasty exception in struts2 ognl
Date Sun, 10 Oct 2010 02:08:05 GMT
  On 10/9/2010 2:48 AM, Ricardo Oliveira wrote:
> Also posted in stackoverflow:
> http://stackoverflow.com/questions/3895961/nasty-java-lang-numberformatexception-in-struts2-ognl
>
> Any help appreciated!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
It is not an OGNL problem. The String you are trying to convert is not 
convertible to an int in Java just like you could not convert the String 
"abc" to an int. You need to use a long.
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message