Take the 2-minute tour ×

As GWT translates java-code to JavaScript: is it afterwards possible to run a page without a backingserver? Like just production the html,css,js folder and just running it in a browser without a server?

Especially when using GWT with Canvas?

share|improve this question

1 Answer 1

up vote 8 down vote accepted

Absolutely, yes. If you don't have a need for a server then, well, you don't need a server.

Note: you'll have to use the xsiframe linker if you intend to serve the files from disk rather than HTTP. In most browsers the std linker (the default linker) won't work with file:// URLs.

share|improve this answer
Where do you configure xsiframe vs. std linker? –  Patrick Dec 3 '12 at 0:17
<add-linker name="xsiframe"/> in your *.gwt.xml. See developers.google.com/web-toolkit/doc/latest/… –  Thomas Broyer Dec 3 '12 at 0:41

Your Answer


