1 Reply Latest reply on Sep 18, 2007 6:53 PM by Greg

    finding the server's URL

    Greg Newbie

      So let's say you access your JBoss AS from your trusty browser at the folloing location:
      https://www.myspiffyserver.com:8443/CodeBaseA

      Is there a way that you can tell in the code the complete URL that the user is using to find the server. Or, is there a way to build the complete URL yourself inside the server?

      Most specifically, I want to know if I'm running in CodeBaseA or CodeBaseB. But, I'm also interested in the other stuff (www.myspiffyserver.com, https and the socket - 8443) as well.

      I've tried using the system parameters, but the information doesn't seem to be there.

      Thanks.