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 <Host>s in your tomcat installation, then here you see the host name used. See javax.servlet.http.HttpServletRequest.getRequestURL at http://java.sun.com/j2ee/1.4/docs/api/index.html . Georg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]