This question has been asked a couple of times but with no satisfactory answer. I'm running tomcat 3.2.3 and using basic authentication. How do I redirect to an error page if the user fails to authenticate? Currently a blank page is displayed. I have tried putting an <error-page> entry for 403 in web.xml but this doesn't work. Adding an <error-page> for 401 (which was previously suggested) prevents the basic authentication from working at all but directs you to the error page specified instead. Any help would be appreciated. Thanks Darren PLEASE READ: The information contained in this e-mail is confidential and intended for the named recipient(s) only. If you are not an intended recipient of this email you must not copy, distribute or take any further action in reliance on it and you should delete it and notify the sender immediately. Email is not a secure method of communication and Nomura International plc cannot accept responsibility for the accuracy or completeness of this message or any attachment(s). Please examine this e-mail for virus infection, for which Nomura International plc accepts no responsibility. If verification of this email is sought then please request a hard copy. Unless otherwise stated any views or opinions presented are solely those of the author and do not represent those of Nomura International plc. This email is intended for informational purposes only and is not a solicitation or offer to buy or sell securities or related financial instruments. Nomura International plc is regulated by the Securities and Futures Authority Limited and is a member of the London Stock Exchange.
