Splash › Forums › Rewrite Users › Accessing current (rewritten) URL in JSF › Reply To: Accessing current (rewritten) URL in JSF
have a look at the “How do I retrieve the original URL after a forward” section in the FAQ:
Basically you can use this code to get the original URL:
String url = request.getAttribute("javax.servlet.forward.request_uri");
If you find our tools useful, please consider making a donation to help us stay online and building software!