Hi
>From my experience,
ResourceBundle bundle = ResourceBundle.getBundle("myapp");
seems to work. This assumes that you have a file called myapp.properties in your
CLASSPATH.
HTH
--
shiv
[EMAIL PROTECTED]
Stefano Andreani wrote:
> Is it possible to access from a Session Bean to resource files bundled into
> its EJB Jar archive? I need to read some property files, but I want to use
> only relative paths (the paths of the resources inside the jar archive), so
> that I needn't to change nothing when deploying into different J2EE servers.
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
===========================================================================
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".