Mantis - Resin
Viewing Issue Advanced Details
4820 minor always 10-20-11 15:22 10-20-11 15:23
ferg  
ferg  
normal  
closed 4.0.23  
fixed  
none    
none 4.0.24  
0004820: CompositeELResolver and invoke
(rep by Wesley Wu)

I used to bundle JUEL 2.1.x in my webapp and it run fine with resin 4.0.x.

After I upgrade to JUEL 2.2.3, some of the el expressions in jsp file
threw exceptions.

The error method invocation expressions is like:

${myBean.myMethod()}

it will produce

javax.el.MethodNotFoundException: Cannot find method 'myMethod' in
'class mypackage.MyBean'


I replaced java.el package in RESIN_HOME/lib/javaee16.jar with the
same package content in juel-2.2.3.jar
then everything went fine.

So I guess the implementation of java.el in resin maybe is conformed
to the EL 2.1 spec but not the EL 2.2 one.

I looked at the source of resin el implementation and found
java.el.CompositeELResolver did not implemented the

public Object invoke(ELContext context, Object base, Object method,
Class<?>[] paramTypes, Object[] params);

method which was added since EL 2.2.

any thoughts?


Notes
(0005571)
ferg   
10-20-11 15:23   
jsp/3084