I know this is a simple question but just can't find the answer. I have two instances of Tomcat running on one server. Each has a login page as the entry point and that page includes a choice of databases. I'd like the default database (i.e. one at top of select list) to be determined by request.getServername(). The problem I'm having is that I'm getting a name for one IP address and and IP address for the other. I can't figure out why the second one won't give me a name. I can live with the IP address but I'd prefer to get a name instead. Can anyone shed any light on where request.getServerName() gets its name from?
I should add that the server name is in DNS correctly and enable lookups is set to true. Thanks for any info. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
