If you want the images on another server, you could just use the Image
class and refer to them where they end up?
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/Image.html

You might be a lot better off though, to abandon that approach and use
an ImageBundle:
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/ImageBundle.html.

That assumes your project is full on GWT, of course, but the bundle is
a lot faster than even a "static" images server (it avoids separate
HTTP requests altogether, which are a lot of overhead).

On Jan 28, 8:36 pm, sim123 <[email protected]> wrote:
> Is there a way I could put all static resources like images into
> another location and access it from there. I want to use apache for
> static resources and tomcat as my server. <public path="" /> specifies
> another directory only ?
>
> Thanks for all the help.
--~--~---------~--~----~------------~-------~--~----~
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