Yes, Struts puts uploaded files into a temporary directory before your
Action is invoked.

The location of the temporary directory can be set with the servlet
initialization parameter called "tempFile". If you don't specify it, I
imagine that the files are put into whatever the JVM considers the temp
directory, which is usually the OS's temp directory ("C:\temp" or "/tmp",
etc.).

Sean

----- Original Message -----
From: "Robert Tyler Retzlaff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 2:23 PM
Subject: multipart post files & struts


> Exactly what does struts do with form files?  Does struts use
> some kind of intermediate temporary file for storing the file
> prior to the user writing the file out to some specified location?
>
> If a temp file is used how does struts determine the appropriate
> path for the tempfile?
>
> Thanks
>
> Rob
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to