Re: Issue with JxtaSocket example

Bruce Rosenthal <[email protected]> Mon, 22 Aug 2005 15:17:23 -0700
Newsgroups gmane.comp.java.jxta.user
Message-ID <[email protected]>
Yeah, OK, I can see that, yes.

Trying now.

Mohamed Abdelaziz wrote:

> Bruce Rosenthal wrote:
>
>> You want PlatformConfig.master in the classpath?
>>
> yes.
>
>> Why? It's an XML document.
>
>
> Because getResourceInputStream() uses the ClassLoader to open the file 
> for reading, and therefore it must exist in the ClassLoader search path.
>
> see  
> http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassLoader.html#getResourceAsStream(java.lang.String) 
>
>
> Mohamed
>

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