accessing properties file in sercice/module
-------------------------------------------

                 Key: AXIS2-2368
                 URL: https://issues.apache.org/jira/browse/AXIS2-2368
             Project: Axis 2.0 (Axis2)
          Issue Type: Task
    Affects Versions: 1.1.1
         Environment: Linux Fedora fc5, tomcat 6.0.7, java1.5.0_11, Axis2 1.1.1
            Reporter: Federica Ciotti


I'm trying to load some properties stored in a .properties file located in 
service/module

This is what I'm doing in my service class (as suggested in 
http://wso2.org/library/98):

 InputStream stream = 
getClass().getClassLoader().getResourceAsStream("registry.properties");

but stream is alway null.


Many Thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to