Re: How to embed server hostname in JSP page on clustered Tomcat

2006-05-13 Thread Scott Purcell
Not sure if you got a response to this, but this has worked for myself. <%@ page import="java.net.InetAddress" %> <% InetAddress ia = InetAddress.getLocalHost(); out.println(""); %> - Original Message - From: "David Goodenough" <[EMAIL PROTECTED]> To: Sent: Friday, May 12

Re: How to embed server hostname in JSP page on clustered Tomcat

2006-05-12 Thread Bill Barker
"David Goodenough" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I have a cluster of (currently) two Tomcat 5.5.17 instances. I want to put >a > hidden field on the pages which tells me which machine I am currently > connected to. Reading the spec it appeared that using:- > > /