This test application can work well on glassfish, but glassfish el implementation is different from tomcat el implementation: jasper-el.jar, which is under tomcat lib folder? First, i though it's myfaces problem, but myfaces community response it's el implementation problem: https://issues.apache.org/jira/browse/MYFACES-2916, and from EL spec, i found out that: The value of an IntegerLiteral ranges from Long.MIN_VALUE to Long.MAX_VALUE, this means that EL treats all integerliteral as long?
I also read tomcat code: protected Number getInteger() { if (this.number == null) { try { this.number = new Long(this.image); } catch (ArithmeticException e1) { this.number = new BigInteger(this.image); } } return number; } But glassfish can work, did you have any idea? On Wed, Sep 15, 2010 at 1:49 PM, Pid <p...@pidster.com> wrote: > On 15/09/2010 04:18, viola lu wrote: > > Hi, Mark: > > thanks, i already opened a bug : > > https://issues.apache.org/bugzilla/show_bug.cgi?id=49925. > > Are you sure this is a Tomcat bug? > > > p > > > On Tue, Sep 14, 2010 at 2:49 PM, Mark Thomas <ma...@apache.org> wrote: > > > >> On 14/09/2010 06:00, viola lu wrote: > >>> Is this a bug of EL implementation? Parse number as Long, not type of > >>> ManagedBean defined? > >> > >> Yep, looks like a possible bug in the code that identifies the method > >> you are trying to call. > >> > >> Mark > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > >> For additional commands, e-mail: users-h...@tomcat.apache.org > >> > >> > > > > > > -- viola