Hello, I'm doing a web application and I want to do the following in a
part of the web: Client send data to server, server creates a new
image with those data and server send the new image to client, which
shows it in the  widget com.google.gwt.user.client.ui.Image

I've read some discussions here and I've understood that server must
send to client a String with the url of the new image, so my code in
the client is

AsyncCallback callback = new AsyncCallback() {
                         public void onSuccess(Object result) {
                                 String urlImg = (String) result;
                                 String path = GWT.getModuleBaseURL();

                                 String finalPath = path + urlImg;
                                 im.setUrl(finalPath);
                            }


                         public void onFailure(Throwable t) {
                                          .....
                                }
                 };

My problem is that the image doesn't appears in hosted mode and the
development shell says this:

* [TRACE] The development shell servlet received a request for
'BaseMap.1.png' in module 'com.sp.gwt.EVITAWeb.gwt.xml'
* [WARN] Resource not found: BaseMap.1.png; (could a file be missing
from the public path or a <servlet> tag misconfigured in module
com.sp.gwt.EVITAWeb.gwt.xml ?)

BaseMap.1.png is the name of the image. I've shown that this file is
created in the root directory of my project.

What's is the problem?

Thanks.



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