Get a resource using getResource()
leading slash to denote the root of the classpath slashes instead of dots in the path you can call getResource() directly on the class.
leading slash to denote the root of the classpath slashes instead of dots in the path you can call getResource() directly on the class.