Re: How to get client current URL?

Splash Forums PrettyFaces Users How to get client current URL? Re: How to get client current URL?

#23175

You can get the original URL from the PrettyContext like this:

String url = PrettyContext.getCurrentInstance().getRequestURL().toURL();