Hi All,
I want to construct a link back to my site. So how can I get a domain name from the URL. My url looks like something below.
skild2 is the name of the war file deployed at
http://devel.skild.com. I am using the following code but I am always getting it as a localhost and not devel.skild.com. I am using the following pieces of codes.
and
Any ideas on this? Thanks in advance BTW.