tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Brogden <wbrog...@bga.com>
Subject Re: Problem with cache
Date Thu, 01 Mar 2001 14:34:07 GMT
Tomcat does not cache files as such. Your problem must
come from a different source.

matteo belloni wrote:
> 
> No  I close it and after rewriting  I deleted it and this file appear really
> deleted but Tomcat mantain it in cache so my deletion is inutil.
> Thanks
> Theo
> ----- Original Message -----
> From: "William Brogden" <wbrogden@bga.com>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Thursday, March 01, 2001 1:52 PM
> Subject: Re: Problem with cache
> 
> >
> >
> > > matteo belloni wrote:
> > >
> > > I've a servlet that write on a file.
> > > If the Tomcat is running the first time the application rewrite the
> > > file, the other time this file is appended but, If I first shutdown
> > > the webserver, the information in a file isn't appended and the
> > > application function correctly.
> > > This appen because this file is keeping in the web server's cache.
> > > How can I solve this problem and writing every time on a file instead
> > > of append the information? I must modify web.xml? And how?
> > > Please help me.
> > > Thanks in advance
> >
> > Sounds to me like you are not flushing and/or closing the file.
> >
> > --
> > WBB - wbrogden@lanw.com

Mime
View raw message