DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41949>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41949

           Summary: mod_jk 1.2.21 POST JSP Page SSI JSP sub request does not
                    complete
           Product: Tomcat 4
           Version: 4.1.31
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connector:JK/AJP
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


FreeBSD 6.0-RELEASE-p4
apache-2.0.59
mod_jk 1.2.21
Tomcat 4.1.30

When apache is configured with an output filter to post process HTML generated
by a JSP page for SSI and the generated html has an SSI include virtual of
another JSP page and the original request was a POST mod_jk will hang while
sending the POST headers during the sub request.

To reproduce add the following to the VirtualHost section to enable post
processing of HTML generated from a JSP page for SSI:

<LocationMatch ".*\.(do|jsp)$">
Options Includes
AddOutputFilterByType INCLUDES text/html
</LocationMatch>

Create a simple test.html page which does a POST:

<p>
mod_jk JSP Post Test
</p>
<form method="post" action="/test/test1.jsp">
<input type="submit" name="test">
</form>

Create a test1.jsp page as follows:

<%@ page session="false" %>

<p>This is test1.jsp</p>

<!--#include virtual="/test/test2.jsp" -->



Finally here is the test2.jsp page:

<%@ page session="false" %>
<p>
This is test2.jsp
</p>

All of the above works fine if test.html uses a GET but mod_jk hangs
if test.html uses a POST. This problem doesn't exist in mod_jk 1.2.19.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to