As stated above, this is not possible with GWT, but you can control it using History
(note: HistoryListener mentioned in a previous post is deprecated)
Here is a simple example to get you started.
public class UrlManager implements ValueChangeHandler<String> { public UrlManager() { History.addValueChangeHandler(this); } public void onValueChange(ValueChangeEvent<String> event) { String historyToken = event.getValue(); }
}
source share