tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georg Lackermair <g.lackerm...@isys-software.de>
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="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>

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

Our web.xml starts with the following lines:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
	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!

Cheers,

Georg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message