tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From M <martin.sille...@prnewswire.co.uk>
Subject tomcat & appache request parameters getting lost
Date Fri, 29 Nov 2002 13:16:10 GMT
Hi,

I'm using apache 1.3.26 with the mod_jk connector to tomcat 4.1.12

The below jsp includes a servet which is unable to access the parameters
on the request url e.g.  http://host.net/testInclude.jsp?test=test
Removing a line from the test comment or changing the flush="true" to
flush="false" can both make it work, but I don't understand why.
It does seem to be very buffer related and very dependant on size of
text before the include.
This problem only occurs when using tomcat through apache and is not
reproducible with tomcat alone.
 

The below page id 778 bytes:

<%@ page language="java" session="true" %>
<html>
<head>
  <title>Access Reports</title>

<!--
test test test test test test test test test test test test test
test test test test test test test test test test test test test
test test test test test test test test test test test test test
test test test test test test test test test test test test test
test test test test test test test test test test test test test
test test test test test test test test test test test test test
test test test test test test test test test test test test test
test test test test test test test test test test test test test
-->



</head>
<body>

<jsp:include page="/servlet/testIncludeServlet" flush="true" >
  <jsp:param name="depth" value="summary" />
</jsp:include>

</body>
</html>


-- 
Regards,
M

Martin Sillence
PR Newswire

DL +44 (0)1865 78 5065
F  +44 (0)1865 78 5100
W  www.prnewswire.eu.com
---------------------------------------
Any views or opinions are solely those of the author and do not
necessarily represent those of PR Newswire Europe. The e-mail
contents are intended only for addressee and may contain
confidential and/or privileged material. If you are not the
intended recipient, please do not read, copy, use or disclose
this communication and notify the sender.

--
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