I tried to intercept a 404 error because the page for that link doesn't actually exist on the server, and use the URL to find out which user needs to be selected.
Problem is, when the request reaches the error page, the url associated to the request is already /errorPage and I lose the original URL.
Does anybody have any idea how to achieve this? I am pretty sure I have seen it somewhere.
Suggestions or links to solutions much appreciated
Also, mapping a custom extension would actually be good enough too.
But if go down that route with