tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: tomcat including files from apache
Date Tue, 03 Feb 2009 20:56:57 GMT
chuckvb wrote:
> I have a basic configuration working where Apache serves my static html and
> tomcat provides my dynamic data.  Using Apache2 on linux with TomCat 6 and
> mod_jk.
> 
> How do I include header files and other files from apache for my 
> tomcat jsp files.  right now I use <%@ include file="/header.html"%> 
> but the header.html file must be in my tomcat directory.  I would like 
> to pull that file from apache.  Tomcat will not accept <%@ include 
> file="http://www.myapp.com/header.html"%> 
Hi.
Just forget for a moment that the html is generated by Tomcat.
How would you do it if you wanted to have an "include" in a static html 
page served by Apache ?
Then just put that in your jsp pages.
No ?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message