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 <[email protected]>
wrote:

> 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 the tomcat's web.xml
> <servlet>
>         <servlet-name>jsp</servlet-name>
>         <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
>         <init-param>
>             <param-name>fork</param-name>
>             <param-value>false</param-value>
>         </init-param>
>         <init-param>
>             <param-name>xpoweredBy</param-name>
>             <param-value>false</param-value>
>         </init-param>
>    *<init-param>*
> *        <param-name>compilerSourceVM</param-name>*
> *        <param-value>1.7</param-value>*
> *    </init-param>*
> *    <init-param>*
> *        <param-name>compilerTargetVM</param-name>*
> *        <param-value>1.7</param-value>*
> *    </init-param>*
>         <load-on-startup>3</load-on-startup>
>     </servlet>
>
> On Thu, May 21, 2015 at 12:20 PM, Sameera Jayasoma <[email protected]>
> wrote:
>
>> 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 <[email protected]
>> > wrote:
>>
>>> 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
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sameera Jayasoma,
>> Software Architect,
>>
>> WSO2, Inc. (http://wso2.com)
>> email: [email protected]
>> blog: http://blog.sameera.org
>> twitter: https://twitter.com/sameerajayasoma
>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>> Mobile: 0094776364456
>>
>> Lean . Enterprise . Middleware
>>
>>
>
>
> --
> *Pulasthi Mahawithana*
> Software Engineer
> WSO2 Inc., http://wso2.com/
> Mobile: +94-71-5179022
> Blog: http://blog.pulasthi.org
>



-- 
Sameera Jayasoma,
Software Architect,

WSO2, Inc. (http://wso2.com)
email: [email protected]
blog: http://blog.sameera.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to