We have been experiencing this problem with JRun.  We have an applet that
talks to a servlet and it broke with jrun 2.3.  A call to tech support
shedded some light.  They said we had to set the content type in our
servlet to something other than urlencoded.  We changed it to octet-stream
and it works exactly twice then something in JRun reverts it.

We did not have this problem with 2.2 and don't have it with any other
servlet runner we have tested.

On Thu, 8 Apr 1999, Craig McClanahan wrote:

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

___________________________________________________________________________
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

Reply via email to