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