You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Help My PC! <hl...@yahoo.com> on 2006/05/02 23:37:34 UTC

Where Are Files Uploaded When Using Form File?

Hi,

Simple question, when using the UploadFormBean and FormFile to upload files in struts, where are the files stored when uploaded? Is there an upload dir that accumulates?

If I store files in a DB, will I have to manually clean the upload directory?

Thanks.

			
---------------------------------
Yahoo! Mail goes everywhere you do.  Get it on your phone.

Re: Where Are Files Uploaded When Using Form File?

Posted by David Evans <ds...@berndtgroup.net>.
the answer to your first question is here:
http://struts.apache.org/struts-action/apidocs/org/apache/struts/upload/CommonsMultipartRequestHandler.html#getRepositoryPath(org.apache.struts.config.ModuleConfig)

I think the answer to your second question depends on the servlet
container being used, and the configuration noted above.

dave


2006-05-02 at 14:37 -0700, Help My PC! wrote:
> Hi,
> 
> Simple question, when using the UploadFormBean and FormFile to upload files in struts, where are the files stored when uploaded? Is there an upload dir that accumulates?
> 
> If I store files in a DB, will I have to manually clean the upload directory?
> 
> Thanks.
> 
> 			
> ---------------------------------
> Yahoo! Mail goes everywhere you do.  Get it on your phone.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org