I have an ads landing page. The link for the landing page will be available as hyperlink in different websites like: www.google.com
. I have to identify from which website the request is coming from? Based on the Domain name i will have to assign some points:
for example, If someone searches for myads, then my URL will be displayed in Google search results page.
My servlet has to identify that the request is coming from Google site.
I have used request.getXXX method. but i could not get the domain. I am not sure which method of request will provide suitable solution for my requirement?