Fwd: [jdom-interest] SAXBuilder.build() weirdness
jmuhlestein at i-link.net
Wed Jul 18 13:00:31 PDT 2001
There seems to be a difference of opinion about what "should" be happening.
Elliotte Rusty Harold wrote:
>No, unless there's something weird going on with servlets specifically
(Jason, comments?) this should not be
>the problem or the solution. When you use HTTP POST, you should always
include a Content-length MIME header
>that specifies the exact number of bytes you're sending in the message
body. Once that number of bytes as been
>received, the server should indicate end of stream. If you're not sending
a proper content-length header field,
>then the client needs to close the connection so the server knows it's
I am passing the Content-length, but I suppose this may not put the
appropriate EOF indicator (\n).
I am certainly willing to try wrapping the incoming POST into something like
a StringReader in order to try and
get the appropriate EOF. I must admit, it seems like an extra step.
thanks for the input,
From: Alex Rosen [mailto:arosen at silverstream.com]
Sent: Wednesday, July 18, 2001 12:03 PM
To: 'John Muhlestein'
Subject: RE: Fwd: [jdom-interest] SAXBuilder.build() weirdness
You saw the entry about this in the JDOM FAQ, right?
More information about the jdom-interest