[jboss-user] [Beginners Corner] - finding the server's URL

grego@spiekerpoint.com do-not-reply at jboss.com
Tue Sep 18 18:44:04 EDT 2007


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.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085790#4085790

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085790



More information about the jboss-user mailing list