It's part of the Unified EL 2.2 spec. IMHO, It's a bit of a mess, the JSP/EL
versioning scheme :)

Both method invocations and varargs for functions were introduced (see the
spec itself, which can be downloaded from
http://jcp.org/aboutJava/communityprocess/mrel/jsr245/index.html, or the
package overview at
http://download.oracle.com/javaee/6/api/javax/el/package-summary.html, which
states *In version 2.2, either type of EL expression can represent a method
invocation, such as ${trader.buy("JAVA")}, where the arugments to the mothod
invocation are specified in the expression.*, though I'm not sure what
arugments or mothods are :D).

An EL implementation that offers both method invocation and variable
arguments even for older EL specification versions is JUEL (
http://juel.sourceforge.net/), so that might be an option for the OP as
well.

2011/4/3 Will Hartung <redro...@sbcglobal.net>

>
> On Apr 2, 2011, at 4:06 PM, Levi Hoogenberg wrote:
>
> The more (most? I'm not sure) recent EL versions do allow method
> invocation, by the way... so if you can upgrade, you don't have to use any
> workarounds.
>
> Oh really? Is this part of the Servlet 3.0 spec? I don't recall many great
> JSP changes in this.
>
> Do you have a reference to this? Because it's not in JSP 2.x or Servlet 2.x
> that I know of.
>
> Regards,
>
> Will Hartung
>
>
>
> ------------------------------------------------------------------------------
> Create and publish websites with WebMatrix
> Use the most popular FREE web apps or write code yourself;
> WebMatrix provides all the features you need to develop and
> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to