You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Koes, Derrick" <De...@smith-nephew.com> on 2003/03/25 17:22:17 UTC

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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Basic authentication question

Posted by Boon Seong <nb...@singnet.com.sg>.
add this to the web.xml

<error-page>
    <error-code>401</error-code>
    <location>/errorpage.jsp</location>
  </error-page>

----- Original Message -----
From: "Koes, Derrick" <De...@smith-nephew.com>
To: <to...@jakarta.apache.org>
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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org