Unfortunately, this does not work. Tomcat seems to use 401 as a prompt to put up the basic auth login dialog. If you add the configuration below, it goes to this page first without ever prompting for user login.
Do you have any other suggestions? Thanks, Derrick -----Original Message----- From: Boon Seong [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 5:27 PM To: Tomcat Users List Subject: Re: Basic authentication question add this to the web.xml <error-page> <error-code>401</error-code> <location>/errorpage.jsp</location> </error-page> ----- Original Message ----- From: "Koes, Derrick" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 25, 2003 6:22 PM Subject: Basic authentication question > > I wish to replace tomcat's 401 error page with something more elegant and > specific to my web app. How can I do this? > > Thanks, > Derrick > > > > This electronic transmission is strictly confidential to Smith & Nephew and > intended solely for the addressee. It may contain information which is > covered by legal, professional or other privilege. If you are not the > intended addressee, or someone authorized by the intended addressee to > receive transmissions on behalf of the addressee, you must not retain, > disclose in any form, copy or take any action in reliance on this > transmission. If you have received this transmission in error, please > notify the sender as soon as possible and destroy this message. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This electronic transmission is strictly confidential to Smith & Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]