-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yucca Nel,
On 5/28/2010 11:34 AM, Yucca Nel wrote: >> So, what does happen if it doesn't redirect? > > It stays on the same page. Are you sure that your link is being followed at all? Does the browser issue a request? > I tried returning "home" from logout method to get controller to > redirect but it never rendered the home page and just stayed in the > current url. Can you trace the code or otherwise determine what's happening? What page does it "stay on"? If you are using container-managed authorization and your "logged out" page is protected, you won't be able to view it after logging-out if you perform a redirect. Would you care to share some code with us? We might be able to help if you do that. > I also attempted to try various methods of logging out where I either > used a backing method that also returned String after invalidating the > session or a hardcoded redirect myself inside the backing bean I don't understand any of that. > I found one place I was not closing connection :p Keep looking. Might I suggest reading my blog post about JDBC resource handling: http://blog.christopherschultz.net/index.php/2009/03/16/properly-handling-pooled-jdbc-connections/ - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwAMpoACgkQ9CaO5/Lv0PASqQCeNujMqfZkfDM2gAIANsl5mo+q aFQAoLqviT0U/h8NIKHhnuf/JGV+/GII =geXd -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org