>Rickard,
>you even don't need all tha access controll stuff. Just package beans and
>resources in the same jar file, it'll work withoud any intervention and will
>keep things simple.
>You can read this from the javadoc of java.io.FilePermission of JDK1.2.2:
>
><java-doc>
>Please note: Code can always read a file from the same directory it's in (or a
>subdirectory of that directory); it does not need
></java-doc>
Interesting. I guess the reason it doesn't work is because I have a
separate /resources/ dir where the file is, but which is pointed to by
the classloader.
If it works as the javadocs hints to my beans should work if I placed
the resources in the same dir as the beans.
Thanks, will try. :-)
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.dreambean.com
Question reality
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".