The package is *not* deprecated. What is deprecated is the old, buggy implementation. The replacement is not Commons FileUpload, but is a Struts wrapper around Commons FileUpload. See CommonsMultipartRequestHandler. That implementation has been the default implementation in Struts for quite some time now.
As for an example, there is an example in the Struts distribution itself. Look for the 'upload' example within the 'struts-examples' web app. -- Martin Cooper On Tue, 05 Oct 2004 11:47:56 +0200, Ivan <[EMAIL PROTECTED]> wrote: > I don t understand. As you see here > (http://struts.apache.org/api/org/apache/struts/upload/package- > frame.html) This package is almost deprecated in favor of commons- > fileupload. > > Ok i have remove the method based on struts 1.1 example(example and code > that is remove on struts 1.2.2!!!), and i test that commons- > fileupload... and several hours wasted i have found that it don t wanna > work with struts. > > Have you tested commons-upload with struts? Where is the example of > using commons-upload with struts the same way it was an example using > struts-self-thing. > > It is REALLY a pain to code deprecated code without having access to the > code that will replace the deprecated code (do you know ? the > @deprecated use XXX class instead of, that you don t write on source). > > --------------------------------------------------------------------- > 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]