does GWT.getHostPageBaseURL() help you out any?

-jason
On Dec 6, 2008, at 3:50 PM, funwithgwt wrote:

>
> Hi,
>
> Question 1:
> My URL in hosted mode looks like this:
> http://localhost:8888/com.mywebsite.MyBlog/MyBlog.html
> I would like the application to be launced in hosted mode so that it
> looks like this:
> http://localhost:8888/MyBlog.html
>
> I have multiple modules. When I deploy these modules I will be
> deploying all of them to ROOT in Tomcat. I have links from one module
> to another. For example I have a link in MyBlog.html to MyBlog2.html
>
> This link navigation must work in a consistent manner in the Hosted
> and Deployed mode.
> Hence I want the Hosted mode to be launched as:
> http://localhost:8888/MyBlog.html
> or
> http://localhost:8888/MyBlog2.html
>
> Question 2:
> When I compile MyBlog-compile.cmd to create the output required for
> deployment it copies all the html files MyBlog.html, MyBlog2.html to
> the target directory. It creates com.mywebsite.MyBlog.nocache.js, but
> does not create com.mywebsite.MyBlog2.nocache.js
>
> The MyBlog.html includes  com.mywebsite.MyBlog.nocache.js and
> MyBlog2.html includes the com.mywebsite.MyBlog2.nocache.js
>
> This now causes MyBlog2.html to not work because of the missing
> javascript file.
>
> I have a feeling I have something confused here in terms of how this
> is supposed to be tested or deployed .
>
> Thanks,
>   FunWithGWT
>
> -Umesh
>
> >


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to