RE: sendRedirect not working same after upgrade to 5...26

2004-07-29 Thread Williams, Bret M.
It works fine in 3.3.a.  

-Original Message- 
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Thu 7/29/2004 8:21 AM 
To: Williams, Bret M. 
Cc: 
Subject: RE: sendRedirect not working same after upgrade to 5...26



Hi,
I'll look at this if I have time.  Can you try Tomcat 3.3.x?  That has
the same HTTP Connector as Tomcat 5, so the behavior should be the same.
If it also breaks in Tomcat 3.3.x, that'd be helpful for us to narrow
down the code location.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Williams, Bret M. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 5:19 PM
To: Shapira, Yoav
Subject: RE: sendRedirect not working same after upgrade to 5...26

   Thanks for the MARC Info. That helped.  Sorry for the direct
mailing
but again the company I work for bounced the SPAM I was sending to
tomcat-user.

   I have narrowed the problem down a little by coming up with a
small
test. It seems to be an issue with using Tomcat 5.x (Tomcat 3.2.1
works) to
sendRedirect() to a servlet that renders application/pdf contenttype
to
IE 6.x (Mozilla works). I get a blank page that needs to be refreshed.
The
fact that Tomcat 3.2.1 works makes me think it's a Tomcat bug. What do
you
think?

   I attached my simple little test servlets. There's a test.pdf
file in
the .jar that is used for the servlet output. Its location is hardcoded
to
c:\test.pdf in the TestPDFOutputServlet.

   Thanks, Bret.

   -Original Message-

   From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]

   Sent: Tuesday, July 27, 2004 1:10 PM

   To: Tomcat Users List

   Subject: RE: sendRedirect not working same after upgrade to
5...26



   Hi,

   It's not a problem that's been discussed to death, that's for
sure.

   Enable the AccessLogValve (it's commented out by default in
server.xml) and observe the URL requested and server response code for
your
redirect request.

   As for archives, try the ones at AIMS (marc.theaimsgroup.com or
something like that), as they are just a normal site and not likely to
be
blocked.

   Yoav Shapira

   Millennium Research Informatics



   -Original Message-

   From: Williams, Bret M. [mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]

   Sent: Tuesday, July 27, 2004 2:04 PM

   To: [EMAIL PROTECTED]

   Subject: sendRedirect not working same after upgrade to 5...26

   

   Hi,

   I recently upgraded from Tomcat 3.2.1 to 5.xxx and noticed that

   sendRedirect() did not work the same between the two versions.
In

   Tomcat 5

   when I tried to redirect to a servlet whose output contenttype
was

   text/plain or application/pdf I would get a blank page and
be

   forced

   to refresh from the browser to see the results. I can get it to
work

   with

   forward(req,res), but forward() doesn't register in the
browser. Any

   help

   would be appreciated.

   

   If this is a problem that has been discussed to death - sorry -
the

   company I work for blocks me accessing the Tomcat-user
Archives.

   

   Thanks, Bret

   



-

   To unsubscribe, e-mail:
[EMAIL PROTECTED]

   For additional commands, e-mail:
[EMAIL PROTECTED]







   This e-mail, including any attachments, is a confidential
business
communication, and may contain information that is confidential,
proprietary and/or privileged. This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed

sendRedirect not working same after upgrade to 5...26

2004-07-27 Thread Williams, Bret M.
Hi,
I recently upgraded from Tomcat 3.2.1 to 5.xxx and noticed that sendRedirect() did not 
work the same between the two versions.  In Tomcat 5 when I tried to redirect to a 
servlet whose output contenttype was text/plain  or application/pdf I would get a 
blank page and be forced to refresh from the browser to see the results.  I can get it 
to work with forward(req,res), but forward() doesn't register in the browser.  Any 
help would be appreciated.
 
If this is a problem that has been discussed to death - sorry  - the company I work 
for blocks me accessing the Tomcat-user Archives.
 
Thanks, Bret

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]