struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Galbreath, Mark" <Galbre...@tessco.com>
Subject RE: Getting client IP address from HTTP request
Date Fri, 19 Apr 2002 16:34:18 GMT
String ip = request.getRemoteAddr();

Mark

-----Original Message-----
From: Struts Developer [mailto:dhsstrutsdeveloper@hotmail.com]
Sent: Friday, April 19, 2002 12:20 PM
To: struts-user@jakarta.apache.org
Subject: Getting client IP address from HTTP request


I'm sure that there is a web site/manual/e-mail thread I'm not finding that 
explains how I go about getting the client workstation IP address from the 
incoming HTTP request. I need this in my Action class.

If any one could share the location of this information I would greatly 
appreciate it.

TIA,

/\/\ark

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message