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 every time when you want to see the image
connect your internet connection.

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



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 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 toloadimagesfrom 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/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:/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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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




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:
   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:/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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



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/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:/Greetings.html?gwt.codesvr=127.0.0.1:9997
   Response headers
  Content-Type: text/html; charset=iso-8859-1
  Content-Length: 1408

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