Jan Hauke Strebel wrote:
> following problem:
>
> the client is setting the request-property to "application/octet-stream" and
> normally exactly this is reaching the servlet.
>
> But sometimes - when in an interval of 5 sec. before another servlet was
> requested - the request-property that reaches the servlet is
> "application/x-www-form-urlencoded". This results to problems for the
> servlet to understand the request and rises an io-exception.
>
The "application/x-www-form-urlencoded" content type is the default one used by
HTML forms that are sent using POST instead of GET. Is it possible that there
is a POST being done to your servlet, without an explicit set of the content
type to "application/octet-stream"?
>
> Thanks,
> Jan Hauke
>
Craig McClanahan
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html