On Tue, 19 Nov 2002, Bernhard Oberndorfer wrote:

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

You are assuming that there *is* a temp file corresponding to the uploaded
data. That is an implementation-specific detail, which is why the FormFile
interface does not expose it.

You can access the uploaded content using the getInputStream() method.

--
Martin Cooper


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