Dear all,

I'm using Axis2 to generate a Web service and I would like to use some
configuration files (for properties and images) included in the .war
file to configure it.

For this purpose, I'm using the following method:
this.getClass().getResourceAsStream("config.file")

I have put the config.file in several directories of my .war file.
However, in all the cases the method does not found the file.

Where should I put the config.file? Is the way I'm using to recover it correct?

Could you be so kind of helping me, please?

Best regards.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to