2010/11/3 dB. <dbl...@dblock.org>: > After some more code-reading I found the problem. Looking at the > implementation of response.sendError in TC5, it's clear that it dumps > whatever headers you added prior to the call. Changing this to setStatus > fixed the problem. I assume this means that Tomcat doesn't get a chance to > render it's custom 401 page, but I might be speculating.
IIRC, this behaviour was tracked as bug 42409. It was fixed by the following commit: http://svn.apache.org/viewvc?view=revision&revision=721921 The fix was not backported to 5.5. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org