Hi.

Although I'm not in the fileupload discussion, I also strongly suggest to be more 
verbose on the @deprecated tag, as it allows much quicker solution of the warnings 
during compile.

Hiran

-----------------------------------------
Hiran Chaudhuri
SAG Systemhaus GmbH
Elsenheimer Stra�e 11
80867 M�nchen
Phone +49-89-54 74 21 34
Fax   +49-89-54 74 21 99


 

> -----Original Message-----
> From: Martin Cooper [mailto:[EMAIL PROTECTED] 
> Sent: Dienstag, 5. Oktober 2004 17:05
> To: Struts Developers List
> Subject: Re: File Upload DEPRECATED?
> 
> 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]
> 
> 

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

Reply via email to