Use the GWT Image object in your client side code: http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/Image.html
com.google.gwt.user.client.ui.Image img = new Image("images/ myImage.jpg"); or img.setUrl("images/myImage.jpg); As long as the image is within your public/images folder it should work just fine. Eggsy On Jan 16, 3:01 pm, Alex Luya <alexander.l...@gmail.com> wrote: > For testing,I uploaded an image into direcotry:src/../client/public/ > images(servlet will do that),and created an image object and call > setUrl() method to set url,so the question is how I can get and > specify this url(src/../client/public/images/) in client side.thank > you. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---