Generally you have one html file which hosts your GWT app. If you want Blog2 (and I have a feeling you don't) then you need another project. (This is not always true, but it *is* always true for people asking the kind of questions you are asking - we've all been there)
If you'd like to explain why you think you need a second html page, you will probably be told why you *don't* need it. GWT apps tend to 'page' widgets in and out of a main display area where more traditional web sites would go to a whole new html page. Ian http://examples.roughian.com 2008/12/6 funwithgwt <[EMAIL PROTECTED]> > > 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 [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 -~----------~----~----~----~------~----~------~--~---
