> URL propertiesAddress =
> getClass.getResource("/version.properties");
Most excellent. This approach works, but what is the difference between
getResource("").openStream() and getResourceAsStream() ? The latter
throws the exception,the first doesnt.
> 1) To fix the applet..
> Provide an SSCCE*.
> Provide an URL to the broken applet.
Unfortunately I cant provide an url since this is an applet which runs
on an intranet.
>
> 2) To deploy the code (as 'not an applet')..
> Code this as a web-start application.
I would love to, but this is a legacy system that I can't rewrite. I'm
not even allowed to restart the apache server running it.
Anyways, the approach with getResource().getStream() works, so I'm
gonna go with that.
Thanks..
/Steen