Hans,
Thanks for the correction. Let me just make sure I understood your point
completely.
You write that when a <jsp:include> tag is used, the content that is
included is the result of processing
the included page. If I had called that page directly with the request
(given appropriate parameters) I would
have seen exactly the same content as that which is included by the tag? Is
that correct?
Thanks again,
-AMT
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Hans Bergsten
> Sent: Tuesday, January 04, 2000 11:33 PM
> To: [EMAIL PROTECTED]
> Subject: Re: how to use jsp include tag
>
>
> Arun Thomas wrote:
> >
> > <jsp:include> is a run time include. The contents of the file you are
> > including, therefore,
> > should be static (contain no JSP) as, at run time, you are past the jsp
> > interpretation and compilation.
> >
> > The primary purpose of this tag is to allow you to dynamically
> > change the
> > contents of the page displayed
> > based on some logic. The actual content object itself must not require
> > further dynamic expansion.
>
> This is not really accurate. Yes, it's a run-time include, but
> it's also the
> result of processing the JSP page (or servlet) that is included, not the
> source. So it's perfectly okay for the included page to be a regular JSP
> page with beans, tags, scriptlets and all that good stuff.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html