commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Vasileios.Kantart...@nc3a.nato.int>
Subject RE: fileupload question
Date Thu, 04 Aug 2005 09:03:27 GMT
So you are suggesting to do everything in one move 
Ok I will give this a try 
Thanks so much fir the immediate replies
Best regards 
Billy 

-----Original Message-----
From: Knezevic, Mihael [mailto:m.knezevic@porta.de] 
Sent: 04 August 2005 11:01
To: Jakarta Commons Users List
Subject: RE: fileupload question

why not use the getInputStream from the FileItem object and use it as a
parameter with the ZipInputstream class constructor?
worked for me. 

> -----Original Message-----
> From: Emmanouil Batsis [mailto:Emmanouil.Batsis@eurodyn.com] 
> Sent: Thursday, August 04, 2005 10:32 AM
> To: Jakarta Commons Users List
> Subject: Re: fileupload question
> 
> Vasileios.Kantartzis@nc3a.nato.int wrote:
> 
> >I am facing a problem after handling an upload request.
> >
> >1. I am trying to upload a file on tomcat. , this is done 
> successfully.
> >
> >2. I am trying to unzip this file using the java zip libs. 
> But I get an
> >io excwption that there is an open stream on the file.
> >  
> >
> 
> 
> Not sure what the problem is. You could avoid saving the 
> archive; it's 
> in memory anyway so why not extract the content from the zip 
> stream and 
> save that instead?
> 
> Manos
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 

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


---------------------------------------------------------------------
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