on 08-20-2007 1:02 PM
Hi,
Anyone tried launching a servlet from a webdynpro application.
Were you able to manage the session in both the applications?
Asif, /people/maksim.rashchynski/blog/2006/08/07/intercomponent-parameters-exchange describes pretty much the same what you need - exchange of components between WD and servlet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are using similar kind of application where we are lauching a servlet from WebDynpro application. But our application was not required to maintain common session.
But I guess its possible to do so, you can try this:
String servURL = WDWebContextAdapter.getWebContextAdapter().encodeRedirectURL("/applicationcontext/servletalias?requestparameters");
IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(servURL,"Title here",false);
window.setWindowSize(1024,640);
window.setWindowPosition(WDWindowPos.CENTER);
window.open();
You can find documentation for
<a href="https://help.sap.com/javadocs/NW04/current/wd/com/sap/tc/webdynpro/services/sal/adapter/api/IWDWebContextAdapter.html#encodeRedirectURL(java.lang.String)">WDWebContextAdapter.getWebContextAdapter().encodeRedirectURL</a>
Regards
Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Asif,
Refer to the following link
http://help.sap.com/saphelp_nw70/helpdata/en/45/018c69174c2951e10000000a11466f/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/43/f54911d99f6bece10000000a11466f/frameset.htm
The above link definitly helpful for u,
Regards,
P.Manivannan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.