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:18:05 GMT
 --- Pier Fumagalli <pier@betaversion.org> wrote: > E
B at hello1790@yahoo.co.uk 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
> 
> Nope, but AFAICS, those servlets use a file system
> path, not a path relative
> to the web-application temporary path to store the
> uploaded files... Did you
> try changing the upload directory parameter to be
> different for the two
> web-applications?
> 

There is only one webapp. 
btw, I have some files like jar_cache22482.tmp
Who is caching these. Is it jvm, or tomcat, 
or cos.jar ? Any idea? More over, I get these
tmp files only with tomcat 4.




____________________________________________________________
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