tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arion" <ar...@talentinfo.com.hk>
Subject Re: HttpUtil.parsePostData() and JSP problem
Date Thu, 11 May 2000 05:37:00 GMT
Hi!

Please check if request.getContentLength() really returns the length of content
fully.

Arion

David Duddleston wrote:

> I have a custom query parser that I call from a JSP page that returns on
> OrderedMap vs. Hashtable and Tomcat hangs on my code. This same code works
> fine in JRun 2.3.3 and 3.0RC1, so I decided to call
> HttpUtils.parsePostData() from a JSP page in Tomcat... it does not hang, but
> there is no output, so something is not working correctly. I'm guessing this
> is a Tomcat/Jasper bug? Any ideas.
>
> <JSP CODE>
> <%@ page language="java" %>
> <%
>         java.util.Hashtable hash =
> HttpUtils.parsePostData(request.getContentLength(),
> request.getInputStream());
> %>
>
> Testing... OK
> </JSP CODE>
>
> -david
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message