tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Hanging after 8 sendRedirect()s
Date Fri, 06 Aug 2004 16:19:26 GMT

There might be some browser checks for this sort of stuff.  I remember
reading about a virus that repeatedly redirected a hidden frame to its
own URL for reading session data (cookies), and subsequently Microsoft
and other vendors putting safeguards in their browsers against this sort
of behavior.   But then again, this paragraph is based upon dull
recollections of events that are at least four years old and may just be
in my imagination, given that it's Friday afternoon after a long week.

Do the first few redirects work OK?  Does the AccessLogValve show
anything interesting for the 8th and subsequent redirects?

Yoav Shapira
Millennium Research Informatics

>-----Original Message-----
>From: J Ross Nicoll []
>Sent: Friday, August 06, 2004 12:16 PM
>To: Tomcat Users List
>Subject: Hanging after 8 sendRedirect()s
>Hash: SHA1
>I've been going nuts trying to diagnose two applications I'm working
>which seem to crash if a user opens 8 (maybe 9) servlets that use
>sendRedirect(), in a row.
>These do not return anything to the user (to the extent of not
>retrieving a PrintWriter or OutputStream). This happens both through
>Apache (with mod_jk), and just by connectiong normally.
>This is under Tomcat 5.0.27 with J2SDK 1.4.2, running on Linux 2.4.22
>(although it's been demonstrated on other configurations).
>So, imagine there's page A, which links to page B. Page B redirects the
>user back to page A. The user clicks on the link to B, and ends up back
>at A. They repeat this a further 7 times, at which point the returned
>page for A isn't completely received. Any further attempts to
>communicate with the servlet appear to be received okay, but no
>gets back to the user.
>Any ideas?
>Version: GnuPG v1.2.4 (Darwin)
>Comment: Using GnuPG with Thunderbird -
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message