Skip to Content
0
Former Member
Feb 28, 2007 at 12:01 PM

Passing parameter from JSPDynpage to Webdynpro

21 Views

Hi,

I am trying to get parameter in webdynpro application from JSPdynpage and i have pasted my code snippet.

JSPDynpage Code:

EPCM.doNavigate('My Targett URL');

IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();

request.getServletRequest().getSession().setAttribute("PNUMBER", "10001");

In webdynpro:

HttpServletRequest request = ((IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();

HttpSession session = request.getSession();

pNumber = (String)session.getAttribute("PNUMBER");

From JSPDynpage it navigating to webdynpro application but getparameter() always null.

I cross checked both JSPdynpage and webdynpro session getId() both are returning same id but parameter is not passing.

where i am doing wrong?

thanks in advance,

regards,

SKB