tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Baker <>
Subject Standard taglib problem
Date Wed, 13 Mar 2002 16:35:54 GMT

I have installed the latest beta of the standard tag libs. The example is 
running fine, and now I'm trying to use it for myself. I have a jsp page that 
I've got the following in:

<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>

<c:forEach var="item" items="a, b, c">
   <c:out value="${item}"/><br>

and it works fine!

However as soon as I put that taglib directive into another page, that's 
included by the first using the <jsp:include directive, I get the following 

org.apache.jasper.compiler.ParseException: End of content reached while more 
parsing required: tag nesting error?
	at org.apache.jasper.compiler.JspReader.popFile(
	at org.apache.jasper.compiler.JspReader.hasMoreInput(	at 
	at org.apache.jasper.compiler.Parser.parse(
	at org.apache.jasper.compiler.Parser$Tag.accept(

I'm using Tomcat 4.0.3 on Linux. I've no idea what's causing this exception 
and it's driving me up the wall now ;-) A search through the mail archive and 
on google returns nothing useful.

Any ideas?


John Baker

John Baker, BSc CS.
Java Developer, TEAM/Slb.
Views expressed in this mail are my own.

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

View raw message