In the US, at least, the URL is http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#How_do_I_use_my_own_server_in_hosted_mode_instead_of_GWT's
On Oct 27, 9:58 am, Thomas Broyer <[email protected]> wrote: > On 27 oct, 15:10, Gabriel <[email protected]> wrote: > > > Hi, > > > I am working on a web application (using maven project structure) with > > GWT embedded in several JSPs. Up until now I was running the > > application server (Tomcat 6) on port 8080, the hosted mode server on > > port 8888, and the JSPs would contains a code like this for > > development: > > > <script type="text/javascript" language="javascript" src="http:// > > localhost:8888/myapp.nocache.js"></script> > > > and point the hosted mode browser tohttp://localhost:8080/...during > > GWT development. > > (In production the compiled GWT code would be hosted on the same port > > of course) > > Wow! why not just using the -noserver > option?http://code.google.com/intl/webtoolkit/doc/1.6/FAQ_DebuggingAndCompil... > > or a servlet to proxy all requests to a specific "URL space" to your > server:http://code.google.com/p/google-web-toolkit/issues/detail?id=3131 > > > This worked fine but now I want to upgrade to GWT 2.0, and I don't > > understand how I can have pages on the server with GWT code that could > > run in hosted mode, unless I would run the entire application on the > > hosted mode server (which is a bad practice for real-world > > applications to my understanding, and may not work the same as the > > standard Tomcat). > > > Can this be achieved? > > yes, the same as before: -noserver or a proxy servlet. We've been > using a proxy servlet since GWT 1.4 without having to change anything > when switching to 1.5, 1.7 and now 2.0 (except: we actually had a > dependency on a 1.4/1.5 "internal detail", so we had to change our > servlet a bit when switching to 1.7, but we changed strictly *nothing* > when switching to 2.0 a few weeks ago) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
