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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

Reply via email to