i need some files on sever side but the normal: put it in "resources"-Folder(i created one because webappcreator didn't) and use MyClass.class.getResourceAsStream("/" + "filename"); does not work?! i allways get null. usind FileInputStream and absolute path works. gwt-maven-plugin copies the file to target but it seems that it is not part of classpath?!
what is the normal way to use resources on server side in a gwt/maven project?
thx in advance
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ifeFDPYNeT8J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment