PROTECTED]]
Sent: Friday, June 01, 2001 12:04 AM
To: [EMAIL PROTECTED]
Subject: Re: Problem+Fix concerning static error pages in Tomcat 3.2.2
Hmm.. In fact (in 3.2.2 atleast), it does not even matter if the
file exists
or not, since the FileHandler simply uses the originally
requested file
Hmm.. In fact (in 3.2.2 atleast), it does not even matter if the file exists
or not, since the FileHandler simply uses the originally requested file and
StaticInterceptor. So I suppose its the same bug alltogether.
If things are fixed in 3.2.3, I'm happy enough though. The dirty fix I
posted
S. Heijnen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 12:50 AM
To: [EMAIL PROTECTED]
Subject: Re: Problem+Fix concerning static error pages in Tomcat 3.2.2
I use virtual hosts, but don't think that is the cause, although
I have not
traced this down (I will check that aswell
PROTECTED]]
Sent: Wednesday, May 30, 2001 9:38 AM
To: [EMAIL PROTECTED]
Subject: RE: Problem+Fix concerning static error pages in Tomcat 3.2.2
Bloody hell.
This bug was fixed a couple months ago and then got whacked by a
late commit
to StaticInterceptor.java. I take partial responsibility
A related bug to this is a nasty stack overflow error if an error page that you
define is not found. It's pretty easy to reproduce, just add this to your
web.xml:
error-page
error-code404/error-code
location/some-nonexistant-file.jsp/location
/error-page
Then try to access a
Sorry, I made a mistake in my previous post. The fix we use is
'req.setServletPath( ctx.getPath() + / + errorPath )', and _not_
'req.setRequestURI( ctx.getPath() + errorPath )' as stated in my message.
Cheers,
Peer Heijnen
Could you please supply a sample webapp that demonstrates this? Static
error pages seem to work OK for me.
-Original Message-
From: Peer Heijnen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 5:52 AM
To: tomcat-dev
Subject: Problem+Fix concerning static error pages in
will wrap up a webapp and post
the .war file.
- Original Message -
From: Marc Saegesser [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 29, 2001 8:54 PM
Subject: RE: Problem+Fix concerning static error pages in Tomcat 3.2.2
Could you please supply a sample webapp