On 3/17/10 10:35 AM, Felix Meschberger wrote: > Strange. This hints at a servlet container issue, because the > getServerName method is defined to: Definitely possible. The app server was built pre-J2EE and plenty quirky. It's since been discontinued. Like I said, possible this was to workaround an issue and I just kept doing it long after it was necessary.
Thanks for bringing me into the 21st century :) Justin > > Returns the host name of the server to which the request was sent. > It is the value of the part before ":" in the <code>Host</code> > header, if any, or the resolved server name, or the server IP address. > > So, the Host header should really be preferred.... > > Anyway ... > > Regards > Felix > >> >> Justin >> >>> >>> Regards >>> Felix >> >>
