Re: Issue with JxtaSocket example
Mohamed Abdelaziz <[email protected]>
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
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 -- http://blogs.sun.com/roller/page/hamada http://weblogs.java.net/blog/hamada