Yes, Not authorized has the 401 http error code. So you should be able to set in web.xml (either conf/web.xml or /WEB-INF/web.xml) :
<error-page> <error-code>401</error-code> <location>/welcome.jsp</location> </error-page> Hope it helps -reynir > -----Original Message----- > From: Iago Toral [mailto:[EMAIL PROTECTED] > Sent: 4. apríl 2003 16:25 > To: [EMAIL PROTECTED] > Subject: Password and session > > > Hello! > > I'm using HTTP authentication, the first time I enter in my > web application, Tomcat ask me for my login and password, but > if the session expires Tomcat do not ask me for it again. > Is this normal? > > can I configure Tomcat to redirect to a specific page (for > example the welcome page) if the session expires? > > Thanks! > > > > > ____________________________________________________________ > Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for > $19.95/year. > http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lm tplus --------------------------------------------------------------------- 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]