tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Bayern <bay...@essentially.net>
Subject Re: Standard taglib problem
Date Wed, 13 Mar 2002 16:37:32 GMT
Hi John,

Let's see your JSP files themselves, in their entirety.  The problem is
just an error from the translation phase of the container, typically
caused by a tag imbalance.

--
Shawn Bayern
Author, "JSP Standard Tag Library"  http://www.jstlbook.com
(coming this spring from Manning Publications)

On Wed, 13 Mar 2002, John Baker wrote:

> Hello.
> 
> 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>
> </c:forEach>
> 
> 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 
> exception:
> 
> org.apache.jasper.compiler.ParseException: End of content reached while more 
> parsing required: tag nesting error?
> 	at org.apache.jasper.compiler.JspReader.popFile(JspReader.java:293)
> 	at org.apache.jasper.compiler.JspReader.hasMoreInput(JspReader.java:337)	at 
> org.apache.jasper.compiler.Parser.parse(Parser.java:1109)
> 	at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
> 	at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:892)
> 
> 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?
> 
> Cheers
> 
> 
> John Baker
> 
> 


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message