tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 356] New - sendRedirect() embedded in JSP not working with mod_jk Apache connector BugRat Report#637
Date Tue, 13 Feb 2001 20:33:27 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=356

*** shadow/356	Tue Feb 13 12:33:27 2001
--- shadow/356.tmp.12487	Tue Feb 13 12:33:27 2001
***************
*** 0 ****
--- 1,29 ----
+ +============================================================================+
+ | sendRedirect() embedded in JSP not working with mod_jk Apache connector Bu |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 356                         Product: Tomcat 3                |
+ |       Status: UNCONFIRMED                 Version: 3.2 Final               |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: High                      Component: Connectors              |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: danmil@shore.net                                             |
+ |  Reported By: anonymous-bug@cortexity.com                                  |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ If you create a JSP page like the following:
+ 
+ <HTML>
+ 
+ <B> Blah Blah HTML </B>
+ 
+ <% response.sendRedirect("/root/myjspdir/newpage.jsp"); %>
+ 
+ </HTML>
+ 
+ it will not correctly redirect you to newpage.jsp when using the mod_jk connector(AJPV13).
You get back some of the HTML at the begining with the HTTP response header inserted in the
page(among other weird effects). However if you try this page by using tomcat directly, i.e
192.187.223.123:8080/thisjsp.jsp, it will redirect to the other page(newpage.jsp) just fine.

+ 
+ This appears to be a problem with the mod_jk or AJPV13 connector(s)

Mime
View raw message