David,

You don't have to do all that. Just reference your images as:

"images/status.png"

Notice the lack of the slash before images. If your images folder is
in your war folder, it should work in both hosted mode and web mode.
That slash would force a non-relative path requiring you to go through
the extra hoops you found.

HTH,
Chad

On Aug 21, 4:35 pm, "David C. Hicks" <[email protected]> wrote:
> Found it.
> GWT.getHostPageBaseURL().
>
>
>
> David C. Hicks wrote:
> > To *almost* answer my own question, I think this comes down to knowing
> > what the web context root is to be pre-pended to URLs.  So, now I'm
> > looking for a way to get that context root.
--~--~---------~--~----~------------~-------~--~----~
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