Re: customize HTTP Status 401 error page

2009-04-27 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 4/24/2009 11:35 AM, Caldarale, Charles R wrote: I'm not sure what you're trying to accomplish by defining an error page for a 401 status; my understanding is that a 401 just triggers the login dialog for the bro

Re: customize HTTP Status 401 error page

2009-04-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 4/24/2009 11:35 AM, Caldarale, Charles R wrote: > I'm not sure what you're trying to accomplish by defining an error > page for a 401 status; my understanding is that a 401 just triggers > the login dialog for the browser - there's no HTML o

Re: customize HTTP Status 401 error page

2009-04-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jill, On 4/24/2009 10:55 AM, Jill Han wrote: > At this point, I just explored the options between basic and form-based > authentication. > No real webapp is build yet. The displayed name is just directory name, app1, > under webapps. I think it wou

RE: customize HTTP Status 401 error page

2009-04-24 Thread Caldarale, Charles R
> From: Jill Han [mailto:jill@alverno.edu] > Subject: RE: customize HTTP Status 401 error page There is at least one thing wrong with your web.xml: > * That's not a valid URL pattern; perhaps you meant "/*". I'm not sure what you're trying to accomp

RE: customize HTTP Status 401 error page

2009-04-24 Thread Jill Han
: Tomcat Users List Subject: Re: customize HTTP Status 401 error page -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jill, On 4/24/2009 9:04 AM, Jill Han wrote: > The display-name is Faculty Resources. If I supply this name to the > url, http://localhost:8080/Faculty Resources, it will ge

Re: customize HTTP Status 401 error page

2009-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jill, On 4/24/2009 9:04 AM, Jill Han wrote: > The display-name is Faculty Resources. If I supply this name to the > url, http://localhost:8080/Faculty Resources, it will generate 404 > error. I think you may be very confused about a lot of things. Th

RE: customize HTTP Status 401 error page

2009-04-24 Thread Jill Han
bilité pour le contenu fourni. > Subject: RE: customize HTTP Status 401 error page > Date: Thu, 23 Apr 2009 15:19:39 -0500 > From: jill@alverno.edu > To: users@tomcat.apache.org > > Here is web.xml > > Faculty Resources > > > FACRES >

RE: customize HTTP Status 401 error page

2009-04-23 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: customize HTTP Status 401 error page > > what happens when you supply the webapplication name to > and restart TC? That would violate the servlet spec. The webapp name *never* appears in web.xml, other

RE: customize HTTP Status 401 error page

2009-04-23 Thread Martin Gainty
à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Subject: RE: customize HTTP Status 401 er

RE: customize HTTP Status 401 error page

2009-04-23 Thread Jill Han
[mailto:ch...@christopherschultz.net] Sent: Thursday, April 23, 2009 2:55 PM To: Tomcat Users List Subject: Re: customize HTTP Status 401 error page -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jill, On 4/23/2009 1:20 PM, Jill Han wrote: > I still need helps. > Here is the web.xml > ... > >

Re: customize HTTP Status 401 error page

2009-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jill, On 4/23/2009 1:20 PM, Jill Han wrote: > I still need helps. > Here is the web.xml > ... > > BASIC > TESTING > > > > 401 > /error.html > > ... > The error.html is replaced the 401 error message, however there will b

RE: customize HTTP Status 401 error page

2009-04-23 Thread Jill Han
- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, April 23, 2009 10:18 AM To: Tomcat Users List Subject: Re: customize HTTP Status 401 error page -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jill, You've hijacked your own thread. :( On 4/23/2009 11:09 AM,

RE: customize HTTP Status 401 error page

2009-04-23 Thread Jill Han
The correct tag should be 401 /error401.jsp Thanks, -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, April 23, 2009 10:18 AM To: Tomcat Users List Subject: Re: customize HTTP Status 401 error page -BEGIN PGP SIGNED

RE: customize HTTP Status 401 error page

2009-04-23 Thread Jill Han
z.net] Sent: Thursday, April 23, 2009 10:18 AM To: Tomcat Users List Subject: Re: customize HTTP Status 401 error page -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jill, You've hijacked your own thread. :( On 4/23/2009 11:09 AM, Jill Han wrote: > If using Basic authentication, the unsuc

Re: customize HTTP Status 401 error page

2009-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jill, You've hijacked your own thread. :( On 4/23/2009 11:09 AM, Jill Han wrote: > If using Basic authentication, the unsuccessful login, or just click > "Cancel" button will trigger the 401 page. < > My question is > 1. is there a way to customize