I have a php page
http://the-charlie.com/artwork/index.php?artist=Kanye+West&album=Graduation,
that when I hit it directly gives me an image URL.

I have this code in my app

RequestBuilder builder = new RequestBuilder(RequestBuilder.GET,"
http://the-charlie.com/artwork/index.php?artist=Kanye+West&album=Graduation";
);

                try {
                    builder.sendRequest("", new RequestCallback() {

                        @Override
                        public void onResponseReceived(Request request,
Response response) {


                            Window.alert(response.getText() );
                            Window.alert(response.getHeadersAsString());
                            Window.alert(response.getStatusText() );

Window.alert(Integer.toString(response.getStatusCode()));
                        }

                        @Override
                        public void onError(Request request, Throwable
exception) {


                        }
                    });
                } catch (RequestException e) {

                    e.printStackTrace();
                }

            }

Which is always returning null , with a status code of 200.

If my app runs on port 8080, is it a problem hitting a page on port 80 ( the
php page ) ?

Why would this constantly be returning blank ?

Thanks!
Charlie

--

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


Reply via email to