tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rogelio R. Vizcaino L." <rvizca...@quarksoft.net>
Subject Re: <jsp:include> versus <% include %>
Date Tue, 03 Jun 2008 17:35:55 GMT
One is static (translation time) the other dynamic (runtime).
http://tinman.cs.gsu.edu/~raj/oracle10/web.1013/b14430/workjsp.htm


On Jun 3, 2008, at 12:21 PM, Jonathan Mast wrote:

> I don't think they are exactly the same.  I had something that was not
> working with <jsp:include> but did for <%@ include %>.
>
> I understand <jsp:...> this the new, XML-complaint way to do  
> things, but
> there must be subtle differences in how things are being done  
> between these
> 2 approaches.
>
> On Tue, Jun 3, 2008 at 1:07 PM, Andrei Tchijov <andrei@tchijov.com>  
> wrote:
>
>> they are identical. you will want to use <jsp:include> if you care  
>> to have
>> your JSP pages in form of valid XML.
>>
>>
>> On Jun 3, 2008, at 12:52 , Jonathan Mast wrote:
>>
>>  I'm wondering if the <%@ include file="somefile.jsp" %> method of
>>> including
>>> a file is more error prone (on Tomcat) than <jsp:include
>>> page="somefile.jsp"
>>> flush="true"/> approach?
>>>
>>> Any ideas would helpful, especially an explanation of what is  
>>> being done
>>> under the hood when these 2 mechanisms are being invoked.
>>>
>>> Tomcat 5.5
>>> Java 1.4.2
>>>
>>> Thanks
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message