Hi,
I am using the following servlet for uploading files.
http://www.servlets.com/resources/com.oreilly.servlet/index.html
The code works fine when the file size is lesser than the max file size. But
when the uploaded file size is more, the browser just shows the server could
not be found messag
I am trying to upload a file to a server using a HTTP Post Client.
At the client side I have a Java program that reads it and posts it to the
servlet.
The servlet reads the incoming stream of data and writes it to the disk. Simple
enough.
This works like a charm most of the times , but in certain
Has anybody seen this recent problem (I've only seen it with
IE5 so far) that appears with Jason Hunter's file upload servlet (actually
com.oreilly.servlet.MultipartRequest):
The servlet throws: Corrupt form data: no leading
boundary
So, I put in a trace, and I sometimes have
David Wall wrote:
>
> Has anybody seen this recent problem (I've only seen it with IE5 so
> far) that appears with Jason Hunter's file upload servlet (actually
> com.oreilly.servlet.MultipartRequest):
>
> The servlet throws: Corrupt form data: no leading boundary
>
From: "Jason Hunter" <[EMAIL PROTECTED]>
To: "David Wall" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, December 06, 1999 5:55 PM
Subject: Re: Jason Hunter's File upload servlet
> David Wall wrote:
> >
> > Has anybody
Here is what seems to be a solutionless problem.
I use JRun, with session persistence enabled, but without session cookie.
AFAIK, the jrunsessionid parameter is what is used to recognize the session
in this case. I think it is not strictly a jrun problem, because I know
other servlet servers also
> When posted in a multipart form, the form fields are no longer directly
> stored in the request, and thus available with a request.getParameter.
I'm not sure what you are really saying, but if you want to ensure that the
current JRun session parameter is included in forms, including the
multipa
Sorry if I misexplained something.
What I wanted to say is that the parameter needed for sesion tracking is
unavailable when posted from a multipart form.
>value="<%=request.getSession(false).getId()%>">
I off course included such a parameter in my form, and this works great when
not in a multi
David Wall wrote:
>
> > When posted in a multipart form, the form fields are no longer directly
> > stored in the request, and thus available with a request.getParameter.
>
> I'm not sure what you are really saying, but if you want to ensure that the
> current JRun session parameter is included in
> I don't know about JRun specifically, but a portable solution should be
> to make sure the URL used in the form's action attribute is "URL
rewritten",
>
>method="post">
>
> The solution you suggest only works with JRun, since ServletUtil is not
> a standard class, and URL rewriting (accordin
David Wall wrote:
>
> > I don't know about JRun specifically, but a portable solution should be
> > to make sure the URL used in the form's action attribute is "URL
> rewritten",
> >
> >method="post">
> >
> > The solution you suggest only works with JRun, since ServletUtil is not
> > a standar
I'll ask Allaire for that specific question.
Thanks anyway to all those that relied
Best regards
Sylvain
>
>In that case it's a bug in JRun. Even if they today (in their 2.1 compliant
>servlet container) use a regular HTTP parameter to send the session ID,
>encodeURL() should encode the URL ac
12 matches
Mail list logo