on 07-28-2006 6:30 AM
Hi Friends,
In my webdynpro application i need to get the host name and password of the portal. To achieve this i have used the following code
<b>WDDeployableObjectPart dop = wdComponentAPI.getDeployableObjectPart();
String path = WDURLGenerator.getAbsoluteWebResourceURL(dop, "test.html");
int ind = path.indexOf("//");
ind = path.indexOf(":",ind);
ind = path.indexOf("/",ind);
path = path.substring(0,ind);</b>
This code is working fine when i run my application directly by deploying and running.
I created the webdynpro iview in the portal and try to run the application there my application is not getting the host name and password.
I think that WDDeployableObjectPart only works when we deploy and run the application. If so, how can we get the details of the host name and port number in webdynpro iview also.
Could you people look into the issue and reply me a helpful solution.
Thanks in advance
Sandeep Kumar Bonam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.