users@glassfish.java.net

Re: How to know app serv IP from ejb or web service?

From: <glassfish_at_javadesktop.org>
Date: Fri, 19 Oct 2007 09:33:50 PDT

As for getting some of the info from within a servlet, you can use the following javax.servlet.ServletRequest APIs:

  getLocalName()
  getLocalAddr()
  getLocalPort()
[Message sent by forum member 'jluehe' (jluehe)]

http://forums.java.net/jive/thread.jspa?messageID=241246