Hi Christian, Here the web-app element that show where the error-page element can be inserted:
<!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*)> Kevin Ritter -----Original Message----- From: Peter Smith [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 8:55 AM To: Tomcat Users List Subject: Re: RES: Handling auth failure Hi Christian, Its after the welcome-list. You can look at the dtd (http://java.sun.com/dtd/web-app_2_3.dtd) for more info. Peter -- Peter Smith Software Engineer InfoNow Corporation > From: "Christian J. Dechery - ACCENTURE" <[EMAIL PROTECTED]> > Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> > Date: Mon, 21 Jul 2003 10:50:02 -0300 > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > 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] > > >> -----Mensagem original----- >> De: Abid Ali Teepo [mailto:[EMAIL PROTECTED] >> Enviada em: segunda-feira, 21 de julho de 2003 10:41 >> Para: Tomcat Users List >> Assunto: RE: Handling auth failure >> >> >> Add this to your web.xml and make a page called error.jsp ..... >> >> >> <error-page> >> <error-code>403</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] >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
