Hi,

I mounted a tomcat with mod_jk to /foo and I include a jsp in a static html page like this:

<!--#include virtual="/foo/bar.jsp" -->

Everything works quite fine, as long as the status code returned for "/foo/bar.jsp" is 200. If it is something else like 404 or 503 I would expect "[an error occured while pro....]" or whatever I configured the printed error msg to be. But instead the error page sent by tomcat is included. The logfile says the following:

[..]
unable to include "/foo/bar.jsp" in parsed file /index.html
[..]

If I try to include a nonexistent page which is served directly by the httpd like "/bar/foo.html", which returns a 404, everything works as expected.

Is there anything I can about that?

BR,
Christoph


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to