tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5957] - RequestDispatcher.include() not working with wrapped responses
Date Tue, 29 Jan 2002 17:39:51 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5957>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5957

RequestDispatcher.include() not working with wrapped responses

plesser@ucs.at changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Catalina                    |Coyote HTTP/1.1 Connector



------- Additional Comments From plesser@ucs.at  2002-01-29 17:39 -------
Well yes i am not sure thus the telnet approach :)
I hope i sent the request correct since i never did it 'by hand' before, but
here goes:

plesser@voyager:~$ telnet localhost 8080
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /rdbug/incl.jsp HTTP/1.0

HTTP/1.1 200 OK
Content-Type: text/html;charset=ISO-8859-1
Date: Tue, 29 Jan 2002 17:37:00 GMT
Server: Apache Tomcat/4.0.2-b2 (HTTP/1.1 Connector)
Set-Cookie: JSESSIONID=8BF7D2ADB156334B06AE69011CF789F7;Path=/rdbug

This page *should* be including test.jsp<br>
Output generated from test.jsp!

<br>back in incl.jsp<br>
Including again using a RequestDispatcher...<br>

<br>-done
Connection closed by foreign host.
plesser@voyager:~$ 
plesser@voyager:~$ telnet localhost 8080
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /rdbug/incl.jsp HTTP/1.1

HTTP/1.1 400 HTTP/1.1 request with no Host: header
Content-Type: text/html
Date: Tue, 29 Jan 2002 17:37:51 GMT
Server: Apache Tomcat/4.0.2-b2 (HTTP/1.1 Connector)
Connection: close

Connection closed by foreign host.
plesser@voyager:~$

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message