|Rami Wiseman||09/18/2006 11:40 pm|
I have an offline website containing Java Applet which draws a real-time chart from a url with a .dat file. The .dat file is updated every minute.
Java Applet didn't work. It was unable to import data from .dat file.
I tried to download the .dat file on my hard disk (I also altered the source code of html file to meet the new path of .dat file) and Java Applet then worked fine. It also was ok when I uploaded all files to a server. However, Java Applet again was unable to read the remote .dat file.
The result: the chart is static because .dat file doesn't update.
I am wondering if there is any way to resolve this, or to let the the .dat file(the one on my hard disk) automatically update every minute?!
|Oleg Chernavin||09/19/2006 06:33 am|
|I am afraid, this is impossible. Maybe only to use Online Links Translation and have that .dat file disabled for the download. Redownload the site. This way, the applet probably go online to get the file.
|Rami||09/19/2006 09:25 am|
|Just to clarify it:
Offline Java applet can import data from
but it fails to import data from
Notice that the last one is also a file residing on the hard disk. So, I would imagine the problem is not in the way of communicatoin with a website, but rather in dealing with the path in which the file.dat resides.
|Oleg Chernavin||09/20/2006 08:33 am|
|I understand, but I need to look at this to see if anything could be done. Can you provide me with the access to the page with the applet?
|Rami||09/20/2006 09:50 pm|
|Thank you very much Oleg.