tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From E B <hello1...@yahoo.co.uk>
Subject Re: servlet upload
Date Thu, 25 Oct 2001 06:14:01 GMT
 --- Bo Xu <bo@cybershop.ca> wrote: > E B wrote:
> 
> > In my webapp under tomcat, I am using oreilly's
> > cos.jar for uploading files. I observe that
> > repeated uploading of same file fails. ie., when
> > I upload a file for second time(different content,
> > same file name), in my servlet I am getting the
> > old file only. It is probably due to caching,
> >  does anybody know how do disable this caching ?
> >
> > the files are jar files. does jvm cache them ?
> > or tomcat ? I see some jar cache files in the
> temp.
> > The class used to access the uploaded file is
> > com.oreilly.servlet.MultipartRequest
> > [...]
> 
> I use TC-4.0 + cos.jar(cos-23Jan2001.zip from
> www.servlets.com) to test
> it,
> I upload zTest.jar twice(same name, different
> content),  in
> Servlet-side, I get
> the new zTest.jar in the 2nd time.
> 


For me, the second upload works only if I 
restart tomcat. does tomcat got to do anything
with this ?


____________________________________________________________
Nokia Game is on again. 
Go to http://uk.yahoo.com/nokiagame/ and join the new
all media adventure before November 3rd.

Mime
View raw message