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
HTH
Alan
On 4/26/2011 3:29 PM, Patssay wrote:
> 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:8888
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:
> 1.9.2.16) Gecko/20110319 Firefox/3.6.16 PBSTB/1.2
> Accept: image/png,image/*;q=0.8,*/*;q=0.5
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 115
> Connection: keep-alive
> Referer: http://127.0.0.1:8888/Greetings.html?gwt.codesvr=127.0.0.1:9997
> Response headers
> Content-Type: text/html; charset=iso-8859-1
> Content-Length: 1408
>
--
Alan Chaney
CTO and Founder, Mechnicality, Inc.
www.mechnicality.com
--
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+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