Hello there! Rob following your instructions when we try to load a resource:
httpService.registerResource("/OSLApplication.html","/OSLApplication.html",
webcontext); //This is the GWT entry-point
And when the method from webcontext is finally called when the user points
to localhost:8080/myapp/OSLApplication.html:
public URL getResource(String name) {
// TODO Auto-generated method stub
return GWTService.class.getResource("/resources/www/"+baseURI+name);
}
We are always getting null
We tried:
"resources/www/"+baseURI+name
And also did not work
We tried using
GWTService.class.getClassLoader.getResource...
even
Thread.currentThread().getContextClassLoader().getResource
It always returns null.
The jar is packaged:
org/
resources/
META-INF
But it seems that resources/ is not being loaded by the class loader, do we
need any special directive on the MANIFEST?
Regards
>