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. Bo Oct.24, 2001