Aw: How to show a User view in GWT app by typing in browser address bar

2011-08-22 Thread Jens
You have to use redirect rules on your web server, e.g. nginx, apache, tomcat, etc. That way you can deliver your app's index.html for different URLs based on regular expressions. Once your server delivers your index.html you can do Window.Location.getPath() in your EntryPoint and then do

Re: Aw: How to show a User view in GWT app by typing in browser address bar

2011-08-22 Thread Xybrek
On Tuesday, 23 August, 2011 01:08 AM, Jens wrote: You have to use redirect rules on your web server, e.g. nginx, apache, tomcat, etc. That way you can deliver your app's index.html for different URLs based on regular expressions. Once your server delivers your index.html you can do

Aw: Re: Aw: How to show a User view in GWT app by typing in browser address bar

2011-08-22 Thread Jens
Well it would, but your problem is your URL requirement. With standard GWT Places your URL would look like: http://mygwtapp.com/#UserPlace:unique username or db id or if you customize GWT Places you could achieve URLs like http://mygwtapp.com/#/user/unique username or db id. So as you can see