RE: Handling auth failure
Add this to your web.xml and make a page called error.jsp . error-page error-code403/error-code location/error.jsp/location /error-page -Original Message- From: Christian J. Dechery - ACCENTURE [mailto:[EMAIL PROTECTED] Sent: 21. juli 2003 15:37 To: Tomcat Users List (E-mail) Subject: Handling auth failure I have successfully implemented authentication in Tomcat, but I don't want that 403 screen to ever show up. Is that possible? I'd like that, for whatever reason, the login screen would always show indicating an authentication failure and requesting a new login. If that's not possible, how can I change that ugly default 403 screen? thanks ___ :: Christian J. Dechery :: Accenture do Brasil :: CHT - Solutions Operations :: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Handling auth failure
Check the DTD !-- The web-app element is the root of the deployment descriptor for a web application. -- !ELEMENT web-app (icon?, display-name?, description?, distributable?, context-param*, filter*, filter-mapping*, listener*, servlet*, servlet-mapping*, session-config?, mime-mapping*, welcome-file-list?, error-page*, taglib*, resource-env-ref*, resource-ref*, security-constraint*, login-config?, security-role*, env-entry*, ejb-ref*, ejb-local-ref*) -Original Message- From: Christian J. Dechery - ACCENTURE [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 8:50 AM To: 'Tomcat Users List' Subject: RES: Handling auth failure where exactly in web.xml does this error-page go? ___ :: Christian J. Dechery :: Accenture do Brasil :: CHT - Solutions Operations :: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]