This is less about GWT and more about the Jetty embedded in the GWT and Tomcat handling things differently. There apparently is some ambiguity in the handling of "/" in the standard or one of them has a bug. I wrote a wrapper method to deal with it: Basically, if the path returned is null, it checks whether there is a "/" at he beginning , if there is, it removes it, if there is not, it adds it. This has made it work correctly across containers.