Hi,

put your resource to be retrieved via
Thread.currentThread().getContextClassLoader().getResourceAsStream()
in src/main/java or src/main/resources  on your IDE so that it can be
exported to WEB-INF/classes (instead of just WEB-INF/ directory).

On Jul 7, 9:24 am, tanteanni <[email protected]> wrote:
> in meantime i tried to put my file to main/webapp/WEB-INF/myfile (next to
> web.xml). but getResurceAsStream("/"+myfile) still returns null (with or
> without "/"). so where to copy resources to? (i don't want to manipulate the
> pom)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to