I'm using final String loginUrl = RequestUtils.toAbsolutePath(urlFor(PAGE_CLASS.class, null).toString());
It generates this link, without my domain. http://PageClass/urlKey/urlValue/etc/etc/
I'm using final String loginUrl = RequestUtils.toAbsolutePath(urlFor(PAGE_CLASS.class, null).toString());
It generates this link, without my domain. http://PageClass/urlKey/urlValue/etc/etc/