on 06-30-2005 7:35 AM
Hello,
I would like to get this part of server's URL: "http://<host_name>"
I am familiar with the Object WDURLGenerator but I don't see a method to do that, all the methods require manipulating the received String. Is there a method to get only the part I've mentioned?
Roy
Hi,
String sysname = System.getProperty("SAPSYSTEMNAME");
String hostname = System.getProperty("j2ee.dbhost");
will give the server name..then u can say http://<hostname>.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.