You can use something like this:
getServletContext().getRequestDispatcher("Nav.htm").include(request, response)
You probably need to give it the full path to your nav.htm file.
-----Original Message-----
From: Cecil Swart (GIS) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 16, 2001 11:53 PM
To: [EMAIL PROTECTED]
Subject: ASP/JSP include tag in a servlet
Hi all,
Can anybody tell me how to simulate an :
ASP <!--#include page="Nav.htm"-->
ASP <!--#include virtual="Nav.htm"-->
JSP <jsp:include page="NAV.htm" flush="true"/>
in a servlet.
Technical info :
TOMCAT 3.2
Windows NT 4
Thanx
Cecil
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
