You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by "Lopez, Ricardo" <ri...@cps.k12.il.us> on 2001/01/09 22:56:21 UTC

Server Side Includes in Tomcat JSP

The Serverside include in html looks like this:

<!--#include virtual="/common/header.html" -->

This does NOT work on JSP

<jsp:include page="/common/header.html" flush="true"/>

Nothing gets inserted.

Keep in mind that the included files may also contain SSI directives in
them.

How can I achieve this effect in JSP?



Ricardo J Lopez
Technology Coordinator 
Office of Education-to-Careers
Chicago Public Schools
125 South Clark Street, 12th floor
Chicago, Illinois 60603
(773) 553-2482
Fax: (773) 553-2971
E-mail: rilopez@csc.cps.k12.il.us