You can use
<jsp:include page=1.jsp flush="true" />
or
<jsp:forward page=1.jsp />
Both will call 1.jsp at run-time. The main difference is that when <jsp:include>
returns, you can send more contents to the client, while <jsp:forward> you cannot.
Kevin
Sneha Sharma wrote:
> Sneha Sharma@CONTEXT
> 06/19/2000 02:21 PM
>
> I want to be able to include say 1.jsp in 2.jsp without getting the
> contents of 1.jsp be processed. I mean I need a replacement in place.
> Please help. AS far as 1.1 specs go, if we call jsp:include page instead
> of jsp:include file, it should work. But it doesn't.
> Thanks,
> Sneha
>
> ===========================================================================
> 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