On Wed, 3 Mar 2004, Forrest Girouard wrote: > Folks: > > Why does the DiskFileUpload require that the factory be of type > DefaultFileItemFactory instead of FileItemFactory? This seems > needlessly restrictive.
It's required because the DiskFileUpload class includes methods that turn around and invoke the equivalent methods on the DefaultFileItemFactory class. Those methods are specific to disk-based uploads, and not present in the generic classes and interfaces. If you don't want the restrictions of the disk-based implementation, then you can use FileUpload instead of DiskFileUpload. -- Martin Cooper PS - Please don't cross-post to both commons-dev and commons-user. > > Cheers, > Forrest > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
