Re: [Dev] Java 7 syntax support in JSP

2015-05-21 Thread Sameera Jayasoma
Hi Pulasthi, As per our offline discussion. Can you try this in Apache Tomcat? If this is working in tomcat, then we will have to fix this in the Carbon environment. Thanks, Sameera. On Wed, May 20, 2015 at 6:31 PM, Pulasthi Mahawithana pulast...@wso2.com wrote: Hi, Do we have $subject?

Re: [Dev] Java 7 syntax support in JSP

2015-05-21 Thread Pulasthi Mahawithana
Hi Sameera, I checked with tomcat, and it also gives the same error. Adding compilerSourceVM and compilerTargetVM parameters with value 1.7 (see [1] below) to the tomcat's web.xml file fixed those issues in tomcat. However the same fix doesn't seem to work with carbon's web.xml. [1] Changes to

Re: [Dev] Java 7 syntax support in JSP

2015-05-21 Thread Sameera Jayasoma
Hi Pulasthi, Can you share the artifacts you've used to test this scenario? I can also give it a try. Thanks, Sameera. On Thu, May 21, 2015 at 5:43 PM, Pulasthi Mahawithana pulast...@wso2.com wrote: Hi Sameera, I checked with tomcat, and it also gives the same error. Adding

[Dev] Java 7 syntax support in JSP

2015-05-20 Thread Pulasthi Mahawithana
Hi, Do we have $subject? I'm getting the following error at runtime when '' is used in a jsp. *'' operator is not allowed for source level below 1.7 * Thanks. -- *Pulasthi Mahawithana* Software Engineer WSO2 Inc., http://wso2.com/ Mobile: +94-71-5179022 Blog: http://blog.pulasthi.org