tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeff.guttada...@abbott.com
Subject Re: Redirect after session expires?
Date Wed, 13 Feb 2002 16:16:46 GMT

Or you could just do that...  :/

Very cool!  Thanks for that nugget, Christopher.



                                                                                         
                         
                    "Christopher                                                         
                         
                    K. St. John"         To:     Tomcat Users List <tomcat-user@jakarta.apache.org>
               
                    <cks@distribu        cc:                                          
                            
                    topia.com>           Subject:     Re: Redirect after session expires?
                         
                                                                                         
                         
                    02/13/02                                                             
                         
                    10:57 AM                                                             
                         
                    Please                                                               
                         
                    respond to                                                           
                         
                    "Tomcat Users                                                        
                         
                    List"                                                                
                         
                                                                                         
                         
                                                                                         
                         




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>






--
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