GWT Server Side “Hosted Mode”
How to tell if the server side is running in the hosted mode. A quick an dirty way I found was to check for the request gwt.codesvr.
Why would you want to do this. Actually, we generate the hosted.html file in a servlet and some of the embedded items change based on whether we are in a live app server or the hosted one.
Also, GWT.script() only works on the client side. Would have been nice to use this on the server side also.