Hi,

Forgive me for asking a simple question, but I can't figure this out.

I have a plain servlet, which streams out a video. This works fine
when called from the client. I can call it like this:

GWT.getHostPageBaseURL() +      "ImageServlet?videoId=" + videoId;

Now I have some code running on the server, which needs to do this:

String s = ? (some url)
javax.media.MediaLocator s = new javax.media.MediaLocator(s);


What I can't figure out is what to assign to s. I can do:

http://localhost:8888/com.lm.MyApplication/ImageServlet?videoId=3

and that will work in hosted mode, but obviously not when I deploy it.

Thank you very much for your 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