Re: Redirect after session expires?

2002-02-13 Thread David Cassidy
is there a session.isInvalid() method ? If so ... :) D Michael Molloy wrote: I've got an application that builds menus when a user logs in and sticks the menus in an object which I then put inside the session. All subsequent jsps get their menu from that object in the session. However,

Re: Redirect after session expires?

2002-02-13 Thread Michael Molloy
Well, we're trying to keep as much logic out of the jsps as possible, so 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. I appreciate your suggestion, and if that's what we need to do, we'll do it, but I'd

Re: Redirect after session expires?

2002-02-13 Thread Christopher K. St. John
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

Re: Redirect after session expires?

2002-02-13 Thread Michael Molloy
I will check it out. Thanks very much for the information. --Michael On Wed, 13 Feb 2002 10:57:09 -0600 Christopher K. St. John [EMAIL PROTECTED] wrote: Michael Molloy wrote: ... if there is a setting for web.xml or something to foward all pages that throw exceptions to a certain

Re: Redirect after session expires?

2002-02-13 Thread jeff . guttadauro
To: Tomcat Users List [EMAIL PROTECTED] mmolloy@ncyccc: les.com Subject: Re: Redirect after session expires

Re: Redirect after session expires?

2002-02-13 Thread jeff . guttadauro
: Redirect after session expires? 02/13/02

RE: Redirect after session expires?

2002-02-13 Thread Jim Urban
session = httpServletRequest.getSession(false); if (session == null) { invalid session code... } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 10:14 AM To: Tomcat Users List Subject: Re: Redirect after session expires