It's unfortunate that Alan doesn't know a thing - "An empty vessel makes the
greatest noise"

You can get the ipaddress using the request object as follows.

request.getRemoteAddr();

-----Original Message-----
From: Mark E. Zawadzki [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 3:18 PM
To: JDJList
Subject: [jdjlist] RE: Get Client's Ip address/machine name


Still, his solution was better than the one that you posted !

--- Alan Williamson <[EMAIL PROTECTED]> wrote:
>
>
> You can get it from the http header - but if the client has a proxy
server,
> then the IP there would be that of the proxy server.
>
> [ArW]  Get it from the http header????  While technically correct ... not
> the way to do it.
>
> Talk about the blind leading the blind!!!!
>
>
>
> To change your membership options, refer to:
> http://www.sys-con.com/java/list.cfm
>


=====

Mark Zawadzki Performance Engineer/DBA/Programmer extraordinaire'
[EMAIL PROTECTED] [EMAIL PROTECTED]

 "Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the universe trying to build
bigger and better idiots.

So far, the universe is winning"

 Robert Cringle (columnist, author, host of "Triumph of the Nerds")


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm


To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to