Hi Sammy, The images that you refer to via the @Resources tag must be somewhere in the classpath during your GWT compilation / hosted mode startup. Although it isn't common practice to include public resources like image files in the WEB-INF folder, you can use the @Resource tag to refer to the image as long as the WEB-INF folder is in your hosted mode and GWT compiler process classpaths.
Hope that helps, -Sumit Chandel On Sat, Sep 5, 2009 at 8:51 PM, picosam <pico...@gmail.com> wrote: > > Hello, > > I have a folder named "images" in the same level as my WEB-INF folder > in my project. What should I put in the @Resource tag in the > ImageBudle method? It doesn't seem to find my image at all. > > Thank you, > Sammy > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---