Hi all,
     I know this isn't really a question about Tomcat, but I figured that
since Tomcat is all about Servlets and JSP's someone may be able to answer
my question.  Is there a way to query the server for it's IP address within
and JSP or Servlet?  This would be on a Windows machine.  If there is can
that IP address be written into a URL Rewrite?  I'm writing an Equipment
management system for work and it is all written in JSP.  My problem is that
the machine I'm using as my Tomcat server is my Workstation.  I'd like to
move it to a dedicated machine, but our Workstations do not have DNS, so
typing in the machine mane does not work.  I have to hard code in my IP
address in order for the system to function.  The problem with that is that
we have Dynamic IP addresses.  Mine hasn't changed in a long time, but it
could and if it does the whole system won't work.

Could anyone offer a suggestion to my IP address problem?

Thanks, 

Dave





_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/


Reply via email to