Splash › Forums › PrettyFaces Users › How to get client current URL? › Re: How to get client current URL?
I’m not sure if I understand your question. What do you mean with current URL?
If you map /mypath to /faces/mypath.xhtml and access the page by entering /mypath in the browser, you will get /mypath when calling the code I posted before.
What do you mean with previous URL? Something like the referrer header? Could you share some code?
If you find our tools useful, please consider making a donation to help us stay online and building software!