This content has been marked as final. Show 2 replies
Thankfully there is no reliable way to do it from an Http Servlet. Even those values you are getting won't always give the user's true information.
You have to ask for that information from the user if they're willing to tell you.
947456 wrote:What an odd question to ask in a Java programming forum.
Is there anything to do with windows IIS configuration??
This is not a Java question in its entirety. As r0 hints at you're bound by what HTTP allows. So investigate the HTTP protocol. Investigate the possibilities of IIS. Only when you have gathered information and you have found something that might work you might think of a way to hook Java into the equation.
In other words: research. Don't just go to a Java forum and ask "How I do this".