I think the path to the resource should begin with "/" -- "/config/dir...".

Jeff

On 5/29/07, Javier V <[EMAIL PROTECTED]> wrote:
Hi.

I'm using JDK 1.5.0_11, and Tomcat 5.5.23.

I was using Axis2 1.0 and when I wanted to load a resource at my service
implementation class I was doing with:

   InputStream inStream =
this.getClass().getClassLoader().getResourceAsStream("config/dir1/myconfig2.web"");

where the resourcefile resides physically in
"webapps/axis2/WEB-INF/lib/config/dir1/myconfig2.web.

However, I've downloaded Axi2 1.2 and the same instruction returns "null".

Is this wrong now in version 1.2? Must be done in another way or is an
Error?

Regards

Janfry

_________________________________________________________________
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos
increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis.
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos


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



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

Reply via email to