Dave Newton responded
> Shivani Sawhney wrote:
> 
> >And tell me something, probably I am just thinking aloud and am even 
> >wrong, but if I can do it through code then can't we just 
> have a custom 
> >tag that zips the chosen directory at client side, uploads 
> the zipped 
> >file on to the server and provides the programmer with appropriate 
> >methods to use the entries in the zipped file more conveniently.
> >  
> >
> Custom tags are run _on_the_server_ not on the client. That 
> said, if you 
> render JavaScript it will be run on the client side, but I 
> don't know if 
> there's any way to access the client's filesystem. Seems like 
> that would 
> be scary. You could probably do it with an ActiveX control, because 
> apparently you can wreak all sorts of havoc that way.

I've used a Java applet to upload multiple files.  Of course, that
brings in all of the difficulties of using applets, since you're writing
code for an environment you don't control.  I sent them individually,
not zipped, and retrieved them directly from the request, bypassing the
Struts form.

 - George Dinwiddie
   http://www.idiacomputing.com

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

Reply via email to