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 Wed, 04 Feb 2009 13:15:41 GMT
Hi again.
Apart from the standard mod_include in Apache 
(http://httpd.apache.org/docs/2.2/mod/mod_include.html) I was also 
thinking about another way.  It may look less efficient, but it isn't 
necessarily.

The trick would be to use <iframe>s in the jsp pages which you generate.
An <iframe> has its own SRC attribute, meaning that you can put any 
absolute or relative URL in it you want.
The difference is that it will make a separate request to the server. 
But if what you want to include is always the same, it would be mostly 
cached by the browser, so it may be more efficient after all.


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


Mime
View raw message