hi,
I am definitely having cache problems.
I print the svg file out before loading it into the JSVGCanvas and this
output is what I expect but the canvas shows previous svg file content. So
I'm sure the server is creating the correct svg file.
Is there any way to stop the canvas using its cached svg?
I'm using batik 1.5 and setSvgDocument().

stuart.

-----Original Message-----
From: Stuart McMahon [mailto:[EMAIL PROTECTED]
Sent: 31 March 2004 17:35
To: Batik Users
Subject: can't reload svg file contents....


hi,
I'm trying to reload the contents of a file which change dynamically.
i.e. a server modifies the svg file content and the user interface must
reload the file to show these changes (same url). However, the old svg is
more often that not displayed. How do I force JSVGCanvas to display the
contents in the file. I'm assuming I may have some sort of cache issues.
Perhaps I can clear the cache programmatically. I tried flushImageCache()
but to no avail.

I say one reference to a similar problem in the archives but the solution
was not clear to me
http://koala.ilog.fr/batik/mlists/batik-users/archives/msg05299.html

any help?

thanks,
stuart.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to