You need to add return; after calling sendRedirect. All
sendRedirect does is to call setHeader with the appropriate values for you,
its still up to you to cancel out of the remainder of the page's logic.
Randy
-Original Message-
From: Mark Meany [mailto:[EMAIL
you have to append a return; - statement after the redirect, because the
current page will be rendered, too
cheers
pero
-Original Message-
From: Mark Meany [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 2:03 PM
To: 'Tomcat Users List'
Subject: Junk after session
Thanks for the advice.
In practise there was a 'return;' statement before the close brace, but this
got lost during cut-n-paste. We still had the same problem. Have changed
code now to use jsp:forward .. and all is well in the world.
M.