The JSP EL is ignored for Servlet version 2.3 and below by default, and the default servlet configuration bundled with the OpenLaszlo distribution uses Servlet 2.3 (cf. web.xml). That means you need to enable EL explicitly through the "isELIgnored" attribute for the page directive:

<%...@page isELIgnored="false" %>
or
<jsp:directive.page isELIgnored="false"/>



Hi, I've been trying to use OpenLaszlo and JSTL but I have not been able
that it works properly.

Here my JSP test page:

<%@ page
contentType="text/plain; charset=ISO-8859-1" pageEncoding="ISO-8859-1"
isErrorPage="false" session="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core";  <http://java.sun.com/jsp/jstl/core%22>  
prefix="c" %>
<c:out value="JSTL installed " />
<c:if test="${2 gt 1}">  and working!!!</c:if>



And the output is:
JSTL installed

But if I deploy the same page in another directory inside webapps I get the
following output:
JSTL installed and working!!!

Is there any conflict between openlaszlo and jstl configuration or library?
I am using tomcat 6.0.26 and openlaszlo-4.9.0.

Thanks in advance.

Reply via email to