struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dakota Jack <dakota.j...@gmail.com>
Subject Re: AW: Multi-select file chooser
Date Tue, 01 Mar 2005 23:25:56 GMT
Yes, Brandon, this is completely mistaken.  Just look at any request
handler for multipart requests and you will see how wrong it is.  All
interesting multipart request wrappers have a method to return FILES! 
///;-)


On Mon, 28 Feb 2005 22:23:29 -0500, Brandon Mercer <brandon@eutonian.com> wrote:
> Frank W. Zammetti wrote:
> 
> > How is it a limitation Brandon?  It IS in fact possible to upload
> > multiple files at one time... The only thing that isn't possible is
> > selecting more than one file at a time using nothing but a <file> form
> > element.  Can you elaborate on what the limitation is?
> >
> Yes, I can.  The limitation is that for every post or get, you can only
> have ONE multipart/mime file.  When you have multiple <file> elements
> you actually perform multiple posts to submit each one.  That's why an
> applet is necessary.  The applet opens different type of connection to
> the server, which in turn outputs many posts to the server.  Now, if you
> use multipart/mixed as the type of submission you can actually handle
> multiple files in one stream, but you have to be careful of the
> encoding.  Either way, you can't have the client decided what type of
> encoding to send to the server on the submit.  The form itself needs to
> define that and have an appropriate CGI or in our case, Action to handle
> the content type.  Hopefully this is helpful.
> Brandon
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 


-- 
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~

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


Mime
View raw message