Re: Warning while loading images from local machine

2011-04-26 Thread prajakta samant
Hi, In GWT you get this message because you cannot load images directly from the local machine. To do that you have to use the incubator functionality and include its jar into your classpath. The easier way to incorporate an iamge is to load the images from the internet by specifyng its url and e

Re: Warning while loading images from local machine

2011-04-26 Thread Patssay
Yes! Thanks ..Dont know why I changed it..had the same originally!! Also had copied images in the wrong folder it seems! Cheers, Sayali On Apr 26, 5:52 pm, Alan Chaney wrote: > Well, 404 is "NOT FOUND" > > and as the image path is > > /Images%5Cbirthday1.jpg > > I suspect that you've urlencoded

Re: Warning while loading images from local machine

2011-04-26 Thread Alan Chaney
Well, 404 is "NOT FOUND" and as the image path is /Images%5Cbirthday1.jpg I suspect that you've urlencoded the path somewhere ( %5C === '\') which is a path separator in windows but not a valid path separator in HTTP. In other words, the URL for the image should be /Images/birthday1.jpg

Warning while loading images from local machine

2011-04-26 Thread Patssay
Why do I get this message when I am trying to load images from local machine in my GWT application? [WARN] 404 - GET /Images%5Cbirthday1.jpg (127.0.0.1) 1408 bytes Request headers Host: 127.0.0.1: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: 1.9.2.16) Gecko/2