Dec 08

The method GWT.isScript() can be used to detect if a GWT application is running in Hosted Mode. It will return false when running in Hosted Mode.


if (!GWT.isScript())
{
   // Am running in Hosted Mode
}

written by objects \\ tags:


One Response to “How can I detect if GWT application is running in Hosted Mode?”

  1. indiketa Says:

    isScript returns true when code is executed in client side, false when is executed on server side.

Leave a Reply

You must be logged in to post a comment.