If you want any of the variables, objects, etc. to be visible in other included
jsps, then use <%@include file="url">, otherwise, if they don't share any
variables, objects, use <jsp:include>

Shireesh Thanneru

On Sun, 12 Nov 2000, Venu Gopal wrote:

>Which one is best to use? The simple situation is like
>i want to include header & footer on every page which
>one should i use?
>
><jsp:include> or <%@include file="relative URL" %>?
>
>Venu
>
>--- Shireesh Thanneru <[EMAIL PROTECTED]>
>wrote:
>> <jsp:include> happens at run-time, where as
>> <%@ include file="URL" %> happens at compile time.
>>
>> Shireesh Thanneru
>>
>> On Sun, 12 Nov 2000, Chin Sung Kit wrote:
>>
>> >hi all,
>> >
>> >what's the difference between <jsp:include> and
>> <%@include
>> >file="relative URL" %>?
>> >
>> >thank you.
>> >
>> >ced
>> >
>>
>>===========================================================================
>> >To unsubscribe: mailto [EMAIL PROTECTED] with
>> body: "signoff JSP-INTEREST".
>> >Some relevant FAQs on JSP/Servlets can be found at:
>> >
>> > http://java.sun.com/products/jsp/faq.html
>> > http://www.esperanto.org.nz/jsp/jspfaq.html
>> >
>> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>> >
>>
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>> >
>>
>>
>===========================================================================
>> To unsubscribe: mailto [EMAIL PROTECTED] with
>> body: "signoff JSP-INTEREST".
>> Some relevant FAQs on JSP/Servlets can be found at:
>>
>>  http://java.sun.com/products/jsp/faq.html
>>  http://www.esperanto.org.nz/jsp/jspfaq.html
>>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>>
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Calendar - Get organized for the holidays!
>http://calendar.yahoo.com/
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to