Re: about getRemoteHost()

2002-10-16 Thread Chris Pratt
Subject: Re: [SERVLET-INTEREST] about getRemoteHost() > NO MORE GARBIGE MAIL, PLS > > -Original Message- > From: Chris Pratt [mailto:[EMAIL PROTECTED]] > Sent: 16. lokakuuta 2002 5:33 > To: [EMAIL PROTECTED] > Subject: Re: about getRemoteHost() > > > Depend

Re: about getRemoteHost()

2002-10-15 Thread [Your Full Name]
NO MORE GARBIGE MAIL THANKS -Original Message- From: ÄYour Full NameÅ [mailto:[EMAIL PROTECTED]] Sent: 16. lokakuuta 2002 7:34 To: [EMAIL PROTECTED] Subject: Re: about getRemoteHost() NO MORE GARBIGE MAIL, PLS -Original Message- From: Chris Pratt [mailto:[EMAIL PROTECTED

Re: about getRemoteHost()

2002-10-15 Thread [Your Full Name]
NO MORE GARBIGE MAIL, PLS -Original Message- From: Chris Pratt [mailto:[EMAIL PROTECTED]] Sent: 16. lokakuuta 2002 5:33 To: [EMAIL PROTECTED] Subject: Re: about getRemoteHost() Depends whether the Router is set up to do NAT or not. If the Router is NATing, you will get the address at

Re: about getRemoteHost()

2002-10-15 Thread Chris Pratt
AIL PROTECTED]> Sent: Tuesday, October 15, 2002 7:06 PM Subject: [SERVLET-INTEREST] about getRemoteHost() > hi, > > i want some idea on this. > > i have a setup where my WebServer is separated by a Router from a User. > when the user access the webserver it has to pass

about getRemoteHost()

2002-10-15 Thread randie ursal
hi, i want some idea on this. i have a setup where my WebServer is separated by a Router from a User. when the user access the webserver it has to pass through the router, so my question is what would be return by the method getRemoteHost()? is it the IP address of the Route

Re: about getRemoteHost

2002-09-05 Thread Vikramjit Singh
> -Original Message- > From: randie ursal [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 05, 2002 6:18 AM > To: [EMAIL PROTECTED] > Subject: Re: about getRemoteHost > > > i want the clients hostname...not server hostname. > > but getRemoteHost return

Re: about getRemoteHost

2002-09-05 Thread Siddharth Vijayakrishnan
PROTECTED]] Sent: Thursday, September 05, 2002 6:48 PM To: SERVLET-INTEREST Cc: urandie Subject: Re: about getRemoteHost i want the clients hostname...not server hostname. but getRemoteHost returns IP address of client not its dns hostname. why is this? Emmanuel Eze wrote: >use getServerName()

Re: about getRemoteHost

2002-09-05 Thread Milt Epstein
me() if u want the server's ip address > > > >-Original Message- > >From: randie ursal [mailto:[EMAIL PROTECTED]] > >Sent: Thursday, September 05, 2002 2:54 PM > >To: [EMAIL PROTECTED] > >Subject: about getRemoteHost > > > > > >hi, > >

Re: about getRemoteHost

2002-09-05 Thread Emmanuel Eze
try InetAddress.getByName(request.getRemoteAddr()).getHostName() Emma -Original Message- From: randie ursal [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 3:18 PM To: [EMAIL PROTECTED] Subject: Re: about getRemoteHost i want the clients hostname...not server hostname

Re: about getRemoteHost

2002-09-05 Thread randie ursal
PROTECTED]] >Sent: Thursday, September 05, 2002 2:54 PM >To: [EMAIL PROTECTED] >Subject: about getRemoteHost > > >hi, > >sorry for this newbie question... > >why is getRemoteHost() of HttpServletRequest return the >IP address of the client access

Re: about getRemoteHost

2002-09-05 Thread Emmanuel Eze
use getServerName() if u want the server's ip address -Original Message- From: randie ursal [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 2:54 PM To: [EMAIL PROTECTED] Subject: about getRemoteHost hi, sorry for this newbie question... why is getRemot

about getRemoteHost

2002-09-05 Thread randie ursal
hi, sorry for this newbie question... why is getRemoteHost() of HttpServletRequest return the IP address of the client accessing my servlet and not the machine assign dns hostname? thanks randie ___