GWT: Loading different UI's based on URL
- by jmccartie
Trying to get a GWT project off the ground and finding it difficult to do any basic routing.
Trying to fire up different UI's based on the URL. Thought I could set a string based on the getHash() and then switch off that, but seems cumbersome (and annoying since I can't do string-based switches in Java).
There's got to be a best practice for this. I know Gerrit uses hashes for determining this type of information but couldn't find where they do it in the source.
Or is this totally not GWT-related? Something I can handle in web.xml?
Any help is much appreciated.