This content has been marked as final. Show 2 replies
You realize that the HttpServletRequest gives you the ability to iterate over all request headers, right? That way you can easily see what is transmitted. If the domain name is in there somewhere, you'll be able to find the header name. If it isn't in there then I'm pretty sure you will not be able to get it.