try reset() ing the response before sending the redirect. You should
not write to the response object if you are going to redirect/forward it
to another resources that will output to the response object.
response.reset();
also redirecting will not stop the thread from
executing the remainder of
I'm trying to do some checking on my pages that make sure that the user logged out and
all the attributes that were bounded to the session were destroyed (using
session.invalidate() in the logout page). However, I'm running into difficulties with
1 of my pages.
The check works fine on all the
: Thursday, October 17, 2002 12:12 PM
To: Tomcat
Subject: IllegalStateException Error
I'm trying to do some checking on my pages that make sure
that the user logged out and all the attributes that were
bounded to the session were destroyed (using
session.invalidate() in the logout page
: Thursday, October 17, 2002 12:12 PM
To: Tomcat
Subject: IllegalStateException Error
I'm trying to do some checking on my pages that make sure
that the user logged out and all the attributes that were
bounded to the session were destroyed (using
session.invalidate() in the logout page
that the last 2 factors may vary depending on the
load of the server.
-Ursprüngliche Nachricht-
Von: Lior Shliechkorn [mailto:liorshliech;yahoo.com]
Gesendet: Donnerstag, 17. Oktober 2002 23:13
An: Tomcat Users List
Betreff: RE: IllegalStateException Error
The return works. Thanks