To answer these two questions:
1) Does the JSP code that sends the redirect write
anything prior to the re-direct
Answer: Not always although in some cases it may. In
the case I am using to test with, it does not write
anything to the response.
2) does it have a return statement immediately
following the send redirect?
Answer: yes. At least in the case which I am using to
test with.
These three files make the error happen
test_first_page.jsp
test_included.jsp
test_last_page.jsp
test_first_page.jsp contents:
<%@ include file="test_included.jsp" %>
<%
try {
log("inside log - MAF TAKEOUT - checking the
redirect");
response.sendRedirect("/ja/test_last_page.jsp"); //
my add on
return;
} catch (Exception e) {
}
%>
test_included.jsp contents:
(---------------------------------------
yes that is four blank lines: 0xD 0xA)
test_last_page.jsp contents:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>ok</title>
</head>
<body>
ok 2
</body>
</html>
--- "Sexton, George" <[EMAIL PROTECTED]> wrote:
> Does the JSP code that sends the redirect write
> anything prior to the
> re-direct, and does it have a return statement
> immediately following the
> send redirect?
>
> -----Original Message-----
> From: Michael Finney [mailto:[EMAIL PROTECTED]]
> Sent: 10 October, 2002 11:15 AM
> To: Tomcat Users List
> Subject: RE: HTTP Response appears at top : Tomcat
> 3.2.1 IIS 5 IE 6 SP1
>
>
> I will add the skip intro to the list. ;)
>
> I believe that JSP code telling the page to redirect
> may be triggering the problem. I tried to narrow it
> down in the code, but I ended up with a file
> included
> with 4 blank lines and a redirect causing the
> problem.
> The problem happens in other parts too.
>
> The problem of the header showing up needs to be
> fixed.
>
> Has anyone seen header information showing up when
> it
> is not supposed to in the web pages when tomcat and
> IIS is integrated? What was the fix?
>
> --- Richard Haber <[EMAIL PROTECTED]>
> wrote:
> > I notice that the header does not appear if you go
> > to the welcome.jsp
> > directly. I am using IE 6 SP1, cleared the cache
> > and tried several
> > times.
> >
> > On an [OT] other note, Macromedia best practices
> > recommends a 'skip
> > intro' button on the splash page to allow users
> > returning to the site
> > quicker access to the site's content ;->
> >
> > Otherwise, a nice animation!
> >
> > Richard
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> >
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
>
> =====
> Michael Finney
> Sun Certified Programmer for the Java 2 Platform
> Sun Certified Developer for the Java 2 Platform
> Sun Certified Web Component Developer for J2EE
> Platform
> Cofounder of PPJDG
> Cofounder of cosAgile - Colorado Springs XP Users
> Group
> If replying to this email address fails, try
> [EMAIL PROTECTED]
>
> __________________________________________________
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.yahoo.com
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
=====
Michael Finney
Sun Certified Programmer for the Java 2 Platform
Sun Certified Developer for the Java 2 Platform
Sun Certified Web Component Developer for J2EE Platform
Cofounder of PPJDG
Cofounder of cosAgile - Colorado Springs XP Users Group
If replying to this email address fails, try [EMAIL PROTECTED]
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>