tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Customizing 401 Error Page (this should be easy)
Date Fri, 13 Jun 2003 14:40:11 GMT


>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:

View raw message