I thought I could get the remote hostname in a Servlet
or jsp file. The following returns nothing for getRemoteHost():
<FORM>
HostIP="<%= request.getRemoteAddr() %>"
<INPUT TYPE='text'
NAME='hn'
VALUE="<%= request.getRemoteHost() %>"
SIZE='15'>
</FORM>
</html>
I was suspecting it is a name resolution (DNS) problem but my
nameresolution sequence is hosts, then bind. And the host 192.168.1.119
for example (it's an intranet) can be found.
Any clues?
--
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
|