Do you have a requirement which needs to toggle the directory, or may be change some value inside the collaboration depending on the server where the application is deployed.
We can easily retrieve the HostName using java.net API as shown below: (Retrieving Host Name in JCD)
- Manesh A. K.
JCAPSMentor.comLabels: HostName, Interview Questions on SUN JCAPS(submitted by Manesh Koovappillil), jcaps 6, manesh, Retrieving Host Name in JCAPS |