Re: question on EL Lambda expression in a JSP on Tomcat 8_0_15

2015-01-13 Thread Anup Aggarwal
Thanks, Bug 57441 https://issues.apache.org/bugzilla/show_bug.cgi?id=57441 if filed for this issue. On Tue, Jan 13, 2015 at 5:29 PM, Mark Thomas ma...@apache.org wrote: On 13/01/2015 21:11, Anup Aggarwal wrote: Hi, I am trying to run this EL Lambda expression in a JSP on Tomcat 8_0_15

question on EL Lambda expression in a JSP on Tomcat 8_0_15

2015-01-13 Thread Anup Aggarwal
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

Re: question on EL Lambda expression in a JSP on Tomcat 8_0_15

2015-01-13 Thread Anup Aggarwal
(DefaultErrorHandler.java:42) On Tue, Jan 13, 2015 at 4:34 PM, Daniel Mikusa dmik...@pivotal.io wrote: On Tue, Jan 13, 2015 at 4:11 PM, Anup Aggarwal codeteste...@gmail.com wrote: Hi, I am trying to run this EL Lambda expression in a JSP on Tomcat 8_0_15 ${(incr = x-x+1; incr(10)} This could

Re: Lambda expression question on Tomcat_8_0_15

2014-12-16 Thread Anup Aggarwal
ma...@apache.org wrote: On 15/12/2014 21:13, David Wall wrote: On 12/15/2014 12:19 PM, Anup Aggarwal wrote: Hi, I am new to learn the LambdaExpression , and I am trying to run a test with JDK7 on Tomcat_8_0_15 server Don't you need JDK8 for Lamdas? Not in this case, no. The EL

Lambda expression question on Tomcat_8_0_15

2014-12-15 Thread Anup Aggarwal
Hi, I am new to learn the LambdaExpression , and I am trying to run a test with JDK7 on Tomcat_8_0_15 server protected void doGet... { ELProcessor elp = new ELProcessor(); sos.println(Test: + (LambdaExpression) elp.eval(()-64)); } But I always get this error