On Wed, 4 Sep 2002, Lai, Kenny wrote: > hey does anyone know the pure java equivilent of > > <%@ include file="/somefile.html" %>?
There isn't a pure-Java equivalent. This is a translation-time directive that instructs the JSP translator to read and include, in place, another file; this file is incorporated into the translation unit. You don't have that sort of control with Java, though of course you can do a runtime include with RequestDispatcher.include (which is analogous to <jsp:include>). -- Shawn Bayern "JSTL in Action" http://www.jstlbook.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
