Well if you put your property file inside a jar and put into the class
path. Then at the run time you can access that from your service. I am
not sure whether it will work if you just put the resource in the class
path. Just try and see.

when you call getResourceAsStram() inside the service , it even work for
class path properties as well.

Thank you!
Deepal
> Good day,
>
> in a tomcat 5.5 installation I have a web application and an axis2
> webservices which should interact with each other. In order to do so,
> the web services must access some properties files which belong to the
> web application.
>
> Is there a way to set the classpath of the web service to something
> similar to "C:/tomcat/webapps/myapp/WEB-INF/classes"?
>
>
> Thank you in advance for your help
> Tommaso Moroni
>


-- 
Thank you!


http://blogs.deepal.org

Reply via email to