You will need to intercept the 401 response by the server. You could do
this using Valves, I suppose. I haven't done this (it has been on my to-do
list for some time now). Download the source code. Have a look at
org.apache.catalina.Valve.

RS






[EMAIL PROTECTED] on 07/01/2002 04:12:20 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:    [EMAIL PROTECTED]
cc:

Subject:    customized page on a HTTP 401 error

Hello,

How can I set a customized page on a HTTP 401 error (authentication) -
after unsuccessful authentication?

If I try to set it using <error-page> users never receive the
authentication form... They only get this customized error page.

Thank you very much and have a very good day!

Andre POWROZNIK

**** DISCLAIMER ****
"This e-mail and any attachments thereto may contain information
which is confidential and/or protected by intellectual property
rights and are intended for the sole use of the recipient(s) named above.
Any use of the information contained herein (including, but not limited to,

total or partial reproduction, communication or distribution in any form)
by persons other than the designated recipient(s) is prohibited.
If you have received this e-mail in error, please notify the sender either
by telephone or by e-mail and delete the material from any computer.
Thank you for your cooperation."


--
To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>










--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to