Hi,
I am new to WSAD
I have enterprise application project
which has modules like ejbModule,webModule,clientModule.
Say my enterprise application project directory name is MainProj.
I kept all my property files in MainProj\properties directory
I am trying load property file in
ejb module
like getClass().getResourceAsStream("/properties/myprop.properties")
when execute above statement it is looking property file in
ejbModule/properties directory(that means it is looking property file from the module context not from the application context,since my application project directory is MainProj I expect to look from MainProj/properties folder)
do you have any idea how to solve the problem?
how to load property file accross the modules
(I tried resourcebundle approach too..)
Thank in Advance
vishnu