Eric,

The problem lies in the ServletInputStream.readLine() method hanging on
occassion at the end of a  multipart request.  It boils down to finding out
exactly why this is hanging and changing the offending code.  I'll be
devoting the next day or two to fixing this problem; the solution is
definately near term, and you can look for a fix soon.  



-----Original Message-----
From: Eric Brown
To: '[EMAIL PROTECTED]'
Cc: Yogieric (E-mail)
Sent: 11/27/00 2:58 PM
Subject: RE: struts.upload, performance and more

I'm trying to evaluate struts for use at 2Wire. Can you tell me more
specifics about the performance problems you refer to? Is this something
that is solveable in the near or long-term?

Thanks,
Eric

-----Original Message-----
From: Stefan Wesner [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 27, 2000 2:30 AM
To: [EMAIL PROTECTED]
Subject: RE: struts.upload, performance and more


I just want to mention that the performance problem exists also using
resin
as the servlet engine.

> -----Original Message-----
> From: Schachter, Michael [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 27, 2000 7:13 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: struts.upload, performance and more
>
>
> Sorry if this is a duplicate:
>
> > So my question is anyone else has observed performance problems ?
>
> I have, but only with tomcat.  The ServletInputStream.readLine()
method
> seems to hang on occassion.
>
> >There should be no need for me to bother about
> >MultipartRequestHandler, MultipartIterator and MultipartElement,
right
> ?
> >I should just use the FormFile interface and get/setFile methods
> >in my form ?
>
> MultipartRequestHandler is an interface you'd implement to create your
> own way of handling multipart
> requests.  MultipartIterator and MultipartElement are helper classes
> that I used to create my own
> implementation of MultipartRequestHandler, they're pretty useful,
except
> for this weird performance problem.
>
> >What's the init param in web.xml called that governs where the
> >temporary files are put ?
>
> Either have the javax.servlet.context.tempdir attribute set, or use
the
> init param "tempDir"
>
> >It was very easy to get upload of files to work using the
> struts.upload.
> >Now I only hope the performance problem will be fixed..
>
> I'll definately be looking into this problem more.
>
> - Mike Schachter
>

Reply via email to