On Tue, 19 Nov 2002, Dan Tran wrote:

> Configure your controller, via Struts config, to have multipartClass set to
> org.apache.struts.upload.DiskMultipartRequestHandler

If you are using Struts 1.1, I strongly recommend that you do *not* do
this. The default file upload handler in Struts 1.1 is much faster and
much more reliable than the DiskMultipartRequestHandler implementation,
which will be deprecated in Struts 1.1.

--
Martin Cooper


>
> Hope this helps
>
> -D
>
> ----- Original Message -----
> From: "Bernhard Oberndorfer" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 19, 2002 12:57 AM
> Subject: Access temporary files
>
>
> > Hello
> >
> > Is there a way to access or to get the name of an temporary file which was
> > uploaded as FormFile(I use the <html:file> tag)?
> > DiskFile, which implements FormFile, for example provides a method
> > getFilePath() to get the temporary file path.
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to