I've not tested this:
<%@ page import="java.net.*" %>
<html><head></head><body><p>
<%
String myhostname= null;
try {
myhostname= InetAddress.getLocalHost().getHostName();
} catch (UnknownHostException e) {
}
if (myhostname!=null) { %>
This application server is running on hostname <%= myhostname %>.
<% } %>
</p></body></html>
John
--
SSO Plugin for the BMC product set
http://www.javasystemsolutions.com/jss/ssoplugin
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"