Hello Experts,
I am currently developing some portal iViews containing JSPDynpages running on an Netweaver Portal 2004.
Now I have to provide some data, e.g. a string, for a foreign WebDynpro application running inside the same portal.
Suggestion was to put this string in the HttpSession in my iView which can be accessed from the WebDynpro as I am logged in with the same user and session.
But in the WebDynpro the data is not visible in the HttpSession.
Code from the JSPDynPage iView:
HttpSession hSession =
this.myRequest.getComponentSession().getHttpSession();
hSession.setAttribute("selectedProduct", "123");
Access from WebDynpro seems to be, but it is not my code:
HttpServletRequest request = ((IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
HttpSession session = request.getSession();
String myValue = session.getAttribute("ATTRIBUTE NAME");
But I am definitely responsible for realizing this 😔
Question is now how to realize this data exchange???
I would appreciate any hints for solving my problem.
Thanks in advice.
Regards,
Andreas