2015-01-14 0:11 GMT+03:00 Anup Aggarwal <codeteste...@gmail.com>:
> Hi,
>
> I am trying to run this EL Lambda expression in a JSP on Tomcat 8_0_15
>
> ${(incr = x->x+1; incr(10)}
>
> But I get this exception
>
> org.apache.jasper.JasperException: /TestLambda.jsp (line: 44, column: 42)
> The function incr must be used with a prefix when a default namespace is
> not specified
>
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
>

An invalid EL. The '(' in '${(' has no pair.


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to