tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul P Akolkar <akol...@us.ibm.com>
Subject Re: question about tags and includes
Date Tue, 03 May 2005 01:47:55 GMT
Static refers to translation time inclusion and dynamic refers to runtime 
inclusion. 

Translation time => Parse JSP elements => Parse errors, if any

If you've bound the prefix tag to a taglib, then start tag <tag:a> becomes 
a JSP element.

-Rahul


On 5/1/05, Luca Passani <passani@eunet.no> wrote:
> 
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message