Use:

In jsp2.jsp

<jsp:include page="jsp1.jsp" flush="true" />

Luis Javier

----- Original Message -----
From: "R.C.Nougain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 19, 2001 7:50 AM
Subject: Output of one JSP into another JSP ?


> Is there a way in JSP to send the output of one JSP to another to get the
> final display content. What I want is following
>
> JSP1 --> JSP2 --> HTML for Browser
>
> Here JSP1 returns HTML data as usual and I need to put a template stuff
like
> image at top and bottom and little other things using the JSP2 to finally
> get the HTML output. There are many JSP1 files I have and all I want to
have
> is one JSP2 file that will serve the purpose to show the content in a
> uniform way. Also this way it will be hugely easy for me to change the
> Look-n-Feel at any stage simply Changing the JSP2. How to do this?
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to