I would like to know in GWT is there an easy way to get host name from url WITHOUT java.net.*; Since client side doesn't support this package.
Input ejw.example.com/anotherexample?fun=no output example.com Input https://www3.example.com/yeteagainanotherexample?fun=miserable output example.com
ejw.example.com,www3.example.comandexample.comare all different domain names.