How do you get the source domain using HttpServletRequest? Source domain is the requester\'s domain.
Thanks.
To get the source domain you can use request.getHeader("origin") especially if the requests have to pass through a proxy server.
request.getHeader("origin")