Hi,
what I wan't to do I read and write to a file from a javabean and when I read from the file I only wan't to send the node name, because in this example it's a xml file. So what I did to solve it was:
URL path = this.getClass().getClassLoader().getResource("../../conf/config.xml");
So if there is any better way to solve it I would be glad to know.