hi everyone,
I have a problem with the error-page directive included in my web.xml
The RPM's I use on a Linux RedHat top box :
apache-1.3.27-2.7.1
tomcat4-4.1.18-full.1jpp
mod_jk-ap13-1.2.2-1jpp
so when apache gives a jsp to Tomcat, this one answers a code 200 instead of
a 404 in the apache
If you have a custom error page, its the job of the page to explicitly set
the error code. This is because errors may *not* be errors and the error page
may have logic to recover from various errors.
You'll see this behavior in other servlet engines too.
In your error page, you'll need this
Julien Oix wrote:
hi everyone,
I have a problem with the error-page directive included in my web.xml
The RPM's I use on a Linux RedHat top box :
apache-1.3.27-2.7.1
tomcat4-4.1.18-full.1jpp
mod_jk-ap13-1.2.2-1jpp
so when apache gives a jsp to Tomcat, this one answers a code 200 instead of
a 404
:[EMAIL PROTECTED]
Envoye : mercredi 22 octobre 2003 14:25
A : Tomcat Users List
Objet : Re: error-page directive gives a wrong response code to apache
If you have a custom error page, its the job of the page to
explicitly set
the error code. This is because errors may *not* be errors