There is always an option in Browser to refresh the cache and delete the
files. from there you can do this.
ashu
> -----Original Message-----
> From: Christian Faubel [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, August 02, 2000 8:04 AM
> To: [EMAIL PROTECTED]
> Subject: confusion about caching, need some advice
>
> I am currently working on an webcam application using Servlets and Swing
> Applets. The servlet starts after a request from the applet a thread
> that writes a .jpg file to a directory under the root of the
> Javawebserver. Then the applet comes to fetch this image file by simple
> Url-connection.
> Now what is strange is the fact that this works nice using appletviewer,
> but not using the plugin with a standard browser, using a browser with
> plugin the image is never updated. It seems the Applet is reading a
> cached version of the image file but on the server side. Pushing the
> reload button in netscape navigator seems to free the cache, because
> afterwords the applet as well displays the actual image file. (strange
> enough with IE this doesn't work)
> As by accesing the image file on the webserver the servlet does not seem
> to handle this request but the javawebserver. So I wonder how I can turn
> of caching for the javawebserver.
> Another solution would be to periodically send the same command which
> sends Netscape browser, when you push the reload button. What does this
> command look like?
>
> Any help appreciated thanks in advance
> Christian Faubel
> --
> /*************************************************************/
> $B%U%!%&%Y%k!!%/%j%9!!;0MNEE5! (B $B%a%+%H%m%K%/%98&5f=j (B
> $B!!!!!!!!!!!!#H#A%7%9%F%`8&5fIt!!%m%\%F%#%/%95;=Q%0%k!<%W (B
> E-mail:[EMAIL PROTECTED]
>
> $B") (B570-8502 $BBg:eI\<i8};TBgF|ElD. (B1-1
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html