tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "matteo belloni" <bell...@cefriel.it>
Subject Re: Problem with cache
Date Thu, 01 Mar 2001 13:37:58 GMT
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
> Java Cert mock exams http://www.lanw.com/java/javacert/
> Author of Java Developer's Guide to Servlets and JSP
> ISBN 0-7821-2809-2
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message