I need the URL from which my web app is called. For eg:- If there is a link to my site foo.com from stackoverflow.com, I need the stackoverflow link in web app(managed bean).
All helps appreciated, thanks.
Not always filled, but you can use:
HttpServletRequest.getHeader("Referer");
Note: The spelling error is on purpose. For an explanation see here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With