First of all, im not a web guru, so sorry for my weak knowledge on that part.
I have a swing application packed in a war file.
In the root of war file i put my jnlp, html that links to jnlp, and jar file. (everything created with NetBeans)
But there is also a directory "data" inside war where i hold some files.
My application is accessing those files at runtime. (those are save files for my game)
So, when i start jnlp directly everything is fine, but when i start jnlp through html link, i got error message:
SEVERE: null
java.io.FileNotFoundException: data\options.data (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
...
Java Web Start starts correctly, i can see my first panel of the application, but when i proceed (application tries to load save file), it can not find that file (options.data) obviously.
How is it possible that everything works fine when i start jnlp directly, and it fails when i start it through the browser?
What is the problem here?
Thanks for the help!