posted 22 years ago
You mention that the include file is on a different server. The only thing to remember is that the include file has to be specified as a "relative path".
Syntax reference from Sun:
<jsp:include page="{relativeURL | <%= expression %>}"
flush="true| false" />
The relative URL looks like a pathname--it cannot contain a protocol name, port number, or domain name. The URL can be absolute or relative to the current JSP page. If it is absolute (beginning with a /), the pathname is resolved by your web or application server.
i.e. you could NOT do the following:
<jsp:include page="http://www.cnn.com/todayNews.html">