Aditya,

   Yeah, I was unsuccessful at figuring out where exactly it is
looking on my hard drive for the image file.  I did a lot of googling
and putting GoogleCode.png in all kinds of places in the project
before I posted.  Judging from the comments on the incubator Wiki page
for imageLoader, I'm not the only one  (
http://code.google.com/p/google-web-toolkit-incubator/wiki/ImageLoader
)

Here's one person's comment:
>I have spent hours trying to get drawImage() to work. I changed ImageHandle? 
>to ImageElement? as per the comment but onImagesLoaded() never executes. Any 
>help would be MUCH appreciated. I am using ver 1.7. I love GWT but unless I 
>can get drawImage() to work it will not be useful to me. --David<

And a reply:
>onImagesLoaded does get executed. You need to create a "public" folder in your 
>projects root folder. Put all your images there. This little bit of info is 
>not mentioned anywhere but it is located in a sample program for gwt. tested 
>with gwt 2.0<

   So I'm not really sure which folder images are getting pulled from
on my hard drive, but it doesn't work if I deploy on AppEngine either,
so it isn't just a problem with host mode.  I've tried putting the
image directly in te 'war' folder, and taking the 'images/' prefix
out, or putting a folder in the main project, calling the folder
'public' as the comment suggests, etc.  I'm missing some basic truth
about how this all works, I think.

-Kevin




On Aug 10, 3:36 am, aditya sanas <[email protected]> wrote:
> *
> Look at this error message
>
> Aug 9, 2010 10:17:54 PM
> com.google.appengine.tools.development.LocalResourceFileServlet doGet
> WARNING: No file found for: /mywebapp/GoogleCode.png

-- 
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