tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Passani <pass...@eunet.no>
Subject question about tags and includes
Date Sun, 01 May 2005 12:40:37 GMT

People, this one got me by surprise. I always thought that the statuc 
include directive
would force the inclusion to take place before any kind of compilation:

<%@ include file="somefile.inc" %>

alas, it's not like this.
If I have a JSP page like:

<tag:a>
  <tag:b/>
</tag:a>

this split will work:

<tag:a>
     <%@ include file="b_tag.inc" %>
</tag:a>

but this *will not*:

<%@ include file="start_a_tag.inc" %>
  <tag:b/>
<%@ include file="end_a_tag.inc" %>

I get an error like:

Unterminated &lt;tag:a&gt; tag

The error is identical on both Tomcat 4.1 and 5.5, which makes me 
suspect that I am missing something (otherwise, this would look like a 
tomcat bug to me).
Anyone who can share some light?

Thank you

Luca





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


Mime
View raw message