Skip to Content
avatar image
Former Member

HttpServletRequest - In netweaver7


In the old version i used:

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


I know that i need to use in the new version:

IWDProtocolAdapter adapter=WDProtocolAdapter.getProtocolAdapter();

but how i implement the "set" method ?



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Jun 22, 2008 at 07:20 PM

    Hi F.F,

    I owe you an answer from Thursday (-:

    IWDProtocalAdapter can be used for getting parameters from iview.

    You can use WDScopeUtil class for setting & getting String parameters (It's a "limited" session object - only for Strings).





    Access current portal session through webdynpro

    Regarding the "Logon by code" issue:

    You can always use a simple portal component (JSP) like in the following example:

    /thread/26477 [original link is broken]

    and redirect to your web dynpro (or run the WD and JSP in the same page and running the JSP only when loading the page for the first time).

    Hope it helps,


    Add comment
    10|10000 characters needed characters exceeded