tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher K. St. John" <...@distributopia.com>
Subject Re: Redirect after session expires?
Date Wed, 13 Feb 2002 16:57:09 GMT
Michael Molloy wrote:
> 
> ... if there is a setting for web.xml or something
> to foward all pages that throw exceptions to a certain
> url, that's what I'm looking for.
> 

 In web.xml:

 <error-page>
    <exception-type> MyException </exception-type>
    <location> /myexception.html </location>
  </error-page>

 the servlet spec[1] has a complete description in
section SRV.9.9.2.


[1] http://java.sun.com/products/servlet/download.html
 

-- 
Christopher St. John cks@distributopia.com
DistribuTopia http://www.distributopia.com

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message