The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

One Suggestion

Posted by Divya on February 01, 2002 at 11:08 AM

> I want to get header information about the server, from where the request is coming to my server.
> Can i do it through HTTP_REFERRER or is there any other way.


Hi,

Its not very clear to me what exactly you are using but in case of servlets you can use Request.getRemoteAddr() or Request.getRemoteHost()

cheers,
Divya






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us