on 11-13-2004 7:38 PM
Hello,
is it possible to determine IP address of client from webdynpro application?
Thanks in advance.
Zdenek Smolik.
Hi,
is it possible to determine IP address of client from WebDynpro application in 7 version?
IWebContextAdapter is invalid in 7 version .
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pran,
thank you, I'll try it.
Regards,
Zdenek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Zdenek Smolik,
to clarify the statements above. The next release is already in development and that API call mentioned above will definitely no longer work. That means your application stops working with...
Can you please tell me the reason for working with client IP? Maybe there is a different solution or we have to think about offering a public API.
Regards
Stefan
Hi Stefan,
We have developed application which is able to interactively update saplogon.ini file according to users needs. User can select systems which should be visible in saplogon offer. Because aplication backend has to connect to client's machine it needs to know its IP address. Because we have used webdynpro as user interface (backend is in R/3) we need to determine client's IP address here.
I have made a workaround using Java servlet but I am interested in possible webdynpro solutions.
Thanks and Regards
Zdenek
Yes you can with an internal webdynpro api
String remoteHost = TaskBinder.getCurrentTask().getWebContextAdapter().getHttpServletRequest().getRemoteHost();
To get this to build or even see the getHttpServletRequest() method you should have the servlet jar file in the classpath. Even if you run into errors during build continue to deploy ,it should work fine
Regards
Pran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
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.