You can use jsp:include
Here's a simple example that may give you some idea


<html>
<head>
<title>Demo JSp testing JSP:INCLUDE declarative</title>
</head>
<body bgcolor ="black" text="white">
<h1> JSP:INCLUDE Feature Demo</h1>
<%
//what ever you want here

//process some other pages
%>


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

<%
//back to your main page
%>

</body>
</html>

Santosh










Mutahar Qayum <[EMAIL PROTECTED]> on 08/18/2000 01:22:50 PM

Please respond to A mailing list about Java Server Pages specification and
      reference <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Santosh Daryani/IT/Aon Consulting)

Subject:  Includes in JSP



I have been includes files thru this command in ASPs, can you tell me what
is similar command in JSP for that. It helped me a lot in ASP,
the command in ASP is

<!--#include virtual="myfile.asp"-->

thanks

Mutahar

===========================================================================
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