Oracle Bug Database wrote:according the forum, the user is trying to implement offline mode with a browser http doc base and a local file path codebase in applet tag.
In order to do offline mode, every bits needs to be on the local system, including the html/js loaded by the browser.
If I understand the posting in forum correctly, they are trying to load the html via browser, using a http URL, e.g:
And inside applet.html, customer have codebase pointing to c:\some_files
This will not work due to security reasons. And most browser blocks this too, e.g:
won't load either by a browser, if the html is loaded via http://your_host.com/img.html
So if customer want to use codebase with a local path, the browser html/js file itself needs to be loaded from the local file system too.
Robin John wrote: - if not possible, my next question would be, will JWS able to handle this load ? will it cause any bandwidth / performance issues in production, I have around 10000 users who will launch the application every morning, don't want to make it too slow.
Robin John wrote:Is there any way I can access soo.jar main class using Runtime.exec inside my jnlp applet class ?
but when I removed the path, hoping that the soo.jar will be automatically be picked up from the classpath
Robin John wrote:I would love to do that, calling the jnlp to load my main class, but I would have to pass in parameters ( loads of them ), how to pass in my arguments to my jnlp main class dynamically ?