URGENT..how to get ip address or computer name of user making a JSP request

Hi,

How do i in my jsp, get the user ip address or any other kind of identification via JSP..

issit something like this...

<%

request.getRemoteUser() ;

%>

this jsp will be accessed when the remote user clicks a link from a normal web page...

[311 byte] By [kenni81] at [2007-9-26 4:50:16]
# 1

PLEASE do search in this forum, there has been number of these sort of questions asked!

"use request.getRemoteAddr() or request.getRemoteHost(), unfortunately this will not work if the client is behind a firewall... (function will return null)" i wrote that about 10 minutes ago on the same question posted some minutes earlier!

Regards,

Fred

LeclercqF at 2007-6-29 18:41:31 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
oic..but the problem is that i am behind a firewall...hahaha
kenni81 at 2007-6-29 18:41:31 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...