posted 14 years ago
Hope I am not wrong, request.getRequestURI() and request.requestURL() tells you what was requested by the user but not who requested it (ie the origin of the requester). Lets say if your webapplication is routed from Google then, I want to know that the url of Google, not requested URL ie your application url