tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Ritter <>
Subject RE: Customizing 401 Error Page (this should be easy)
Date Fri, 13 Jun 2003 14:53:23 GMT
Thanks for staying with me; however, after I deleted all temporary internet
files and repeated the test the only entry in the log is what I reported
last time, which is: - - [13/Jun/2003:09:42:55 -0600] "GET /LMS/index.jsp HTTP/1.1" 200

Any other suggestions? Am I implementing this correctly?

Once again thank you in advance

-----Original Message-----
From: Shapira, Yoav [] 
Sent: Friday, June 13, 2003 9:40 AM
To: Tomcat Users List
Subject: RE: Customizing 401 Error Page (this should be easy)


>Here's the only entry in the log:
> - - [13/Jun/2003:09:26:58 -0600] "GET /LMS/index.jsp

Clean your browser's cache and repeat the test.  The above shows the
index.jsp was requested and returned without a problem.

>If I remove the error-page element from the web.xml file everything
>fine. I was hoping to use my own custom error page for 401 errors when
>user of my application forgets his userId/password or clicks Cancel
>the Authentication login dialog. Also, I have debug set at 99.

How are you handling the cancel in the login dialog or the wrong
password?  Redirect?  Forward?  Set response code to 401?

If you can post your index.jsp code, we could probably help more...

Yoav Shapira

This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message