on 01-22-2008 4:24 AM
Hi Gurus,
in webdynpro, I upload a file to KM, i try to get the full url of the uploaded file, i can only get url like this /irj/go/km/docs/documents/****
which api can i use to get the server name or cluster name, port,
customer server has cluster http:// dep.domain.name/
one of its instance my instance1 http://instance1.domain.name
my environment is NW04 SP19.
Best regards,
John
Hi,
try
{
InetAddress n=InetAddress.getLocalHost();
String name=n.getHostName();
}
catch(Exception e)
{
wdComponentAPI.getMessageManager().reportException("component"+e.getMessage(),true);
}
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.