tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georg Lackermair <>
Subject EL works in JSP but not in tag files
Date Tue, 09 Nov 2010 12:15:02 GMT

Hello everyone,

The problem is that EL expressions work well in JSPs, but get ignored in
custom tags. i found several related posts on the web, but none helped
me to solve this. On adding the line
<%@ tag isELIgnored="false" %> i get the following error message:

"Tag directive: illegal to have multiple occurrences of isELIgnored with
different values (old: true, new: false)"

The tag file starts like this:

<%@ tag isELIgnored="false" %>
<%@ tag import="..."%>
<%@ tag import="..." %>
<%@ tag import="..."%>
<%@ tag import="..." %>
<%@ taglib uri="" prefix="c" %>
<%@ taglib uri="" prefix="fn" %>

<%@ attribute name="article" required="true" type="..."%>
<%@ attribute name="suggestedQuantity" required="true"
<%@ taglib uri="/tags" prefix="pref" %>

Our web.xml starts with the following lines:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi=""
	id="WebApp_ID" version="2.5">

I guess it is just some configuration issue, but i can't figure out what
the problem could be (maybe growing frustration prevents me from seeing
clearly). The error occured on tomcat 6.0.29 and
  tomcat 7.0.2. Hope that somebody could help me here.

Thanks in advance!



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message