Hello everybody!
I searched the BETA as well as the ALPHA board but I couldn't find anything that's useful:
I have an applet which should load data from (now) a .txt file (later php generated text file based on MySQL database).
As far as I know (and as it worked in a previous applet) I need to type the complete URL to the folder where the applet and the data is located. However, this doesn't work.
Could maybe tell me, if I have to write (applet and files are in the "appletfolder")
Code:loadStrings("http://mywebsite.com/appletfolder/textfile.txt");
or
Code:loadStrings("/appletfolder/textfile.txt");
or
Code:loadStrings("textfile.txt");
or has the txt file to be in a data subdirectory:
Code:loadStrings("data/textfile.txt");
or
Code:loadStrings("http://mywebsite.com/appletfolder/data/textfile.txt");
?
Maybe this information is important, too: loadStrings() is done by a thread (the thread manages all loading in the background in order to keep motion fluid).
the whole applet is (or should be) in an earlier version (added various features, everything running if in the PDE) available at http://www.esoptera.net/map2pre/
thank you for any help
fab