Re: Retrieving host name

2006-02-20 Thread Martin Gainty
TED]> To: Sent: Monday, February 20, 2006 7:32 PM Subject: Re: Retrieving host name Hi, Is there code for retrieving server address (IP address?) too? Thanks. request.getServerName() -Original Message- From: Amir Sadeh [mailto:[EMAIL PROTECTED] Sent: Sunday, February 19, 2006

Re: Retrieving host name

2006-02-20 Thread Bill Barker
nvolved. > Thanks. > > request.getServerName() > > >> -Original Message- >> From: Amir Sadeh [mailto:[EMAIL PROTECTED] >> Sent: Sunday, February 19, 2006 10:57 AM >> To: users@tomcat.apache.org >> Subject: Retrieving host name >> >> Hi, >> How c

Re: Retrieving host name

2006-02-20 Thread Zorro3692
Hi, Is there code for retrieving server address (IP address?) too? Thanks. request.getServerName() > -Original Message- > From: Amir Sadeh [mailto:[EMAIL PROTECTED] > Sent: Sunday, February 19, 2006 10:57 AM > To: users@tomcat.apache.org > Subject: Retrieving ho

RE: Retrieving host name

2006-02-20 Thread Daniel Blumenthal
request.getServerName() > -Original Message- > From: Amir Sadeh [mailto:[EMAIL PROTECTED] > Sent: Sunday, February 19, 2006 10:57 AM > To: users@tomcat.apache.org > Subject: Retrieving host name > > Hi, > How can I retrieve the host name (defined in the tomca

Re: Retrieving host name

2006-02-19 Thread Georg Sauer-Limbach
How can I retrieve the host name (defined in the tomcat server.xml) or some unique host id in a JSP/Servlet code? request.getRequestURL() returns the complete URL the client used. If you have multiple s in your tomcat installation, then here you see the host name used. See javax.servlet.http.Ht

Retrieving host name

2006-02-19 Thread Amir Sadeh
Hi, How can I retrieve the host name (defined in the tomcat server.xml) or some unique host id in a JSP/Servlet code? Regards, Amir S