Hello, I have similar problems, I need few pages with different Javascriots. I stsrted from 2 classes with MainEntryPoint, but was not able manage it.. Only solution, what I found, put all code for generation JS under one MainEntryPoint for page.html, and call corresponding section of code using parameter. So u have not: page1 page2.. but u have page.html? param=1 or param =2 Not so elegant solution..
On Apr 25, 10:22 am, GWTSavvy <[email protected]> wrote: > Hi All, > > I have the following structure for my application. > > webroot > |------pages > | |--------page1.html > | |--------page2.html > | |--------page3.html > | > |------gwtapps > | |--------app1(folder with app1 javascript+resources > files) > | |--------app2(folder with app2 javascript+resources > files) > | > |------WEB-INF > | |--------classes > | |--------lib > | |--------web.xml > > The reason is that I would like to put any GWT app I like on any page > in the pages directory. I think RPC calls can be easily routed using > the web.xml to the GWT Application Servlets. But getting the > Javascript loaded from the correct director is the issue. > > Can anyone please help me on this?? > > A BIG Thanks in Advance... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
