commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Cooper <mfncoo...@gmail.com>
Subject Re: Rename File While Upload
Date Tue, 02 Nov 2004 16:56:41 GMT
On Tue, 2 Nov 2004 08:16:04 -0800, Dakota Jack <crackwillow@gmail.com> wrote:
> On Mon, 1 Nov 2004 13:17:39 -0800, Martin Cooper <mfncooper@gmail.com> wrote:
> >
> > By the way, I strongly recommend moving your FileUpload code into a
> > servlet, rather than having binary upload handling in JSP pages, which
> > are designed for text-based content.
> >
> > --
> > Martin Cooper
> 
> I assume, Martin, that you would also recommend equally a Struts
> Action subclass?

Struts already has file upload functionality built into it (based on
Commons FileUpload), so if you're using Struts, you don't need to do
anything yourself, beyond using FormFile entries in your ActionForm
classes.

--
Martin Cooper


> Jack
> 
> --
> "You can't wake a person who is pretending to be asleep."
> 
> ~Native Proverb~
> 
> "Each man is good in His sight. It is not necessary for eagles to be crows."
> 
> ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
>

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


Mime
View raw message