Hi all,
I tried to enable html5 pushstate URLs for my app:
<script type="text/javascript">
var erraiPushStateEnabled = true;
</script>
Now, upon start up of the web app, my initial url gets overwritten
from:
http://localhost:8080/index.jsp/#StartPage
to
http://localhost:8080/StartPage
... and as a result - GWT SuperDev mode stopped working (the usual Dev Mode On/Off and Compile buttons no longer recognize the app).
Any clue on how to fix this?
Thanks.
I had a similar problem. Try adding the following to web.xml
<error-page>
<error-code>404</error-code>
<location>/</location>
</error-page>