I've also had similar problems. I found that in nested if statements and
if...else iterations, if you don't put a return after the sendredirect
or forward it tries to execute the rest of the code...
Matt Goss

[EMAIL PROTECTED] wrote:
> 
>         I've been having the same problem sporadically for a while.  I've
> found that I can seemingly fix it if I put a 'return;' at the end of my
> 'if(){}' statement before the closing '}' and after the 'response.sendRedirect()'.
> This might cause strange problems I'm not aware of yet.
> 
> On Wed, 21 Mar 2001, Robin Green wrote:
> 
> > "Shay Gabay, Nice-Eye" <[EMAIL PROTECTED]> wrote:
> > >I'm having a problem, when a jsp page calls request.sendRedirect to
> > >redirect to another page, all of the contents of the page doing the
> > >redirect (starting somewhere in the middle) are output before the contents
> > >of the target page.
> >
> > Wrong mail list. Forwarding to tomcat-user...
> > _________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> >
> >
begin:vcard 
n:Goss;Matt
tel;fax:919-657-1501
tel;work:919-657-1432
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Matt
end:vcard

Reply via email to