cancel
Showing results for 
Search instead for 
Did you mean: 

how to access HttpServletRequest from Web Dynpro

Former Member
0 Kudos

Hi,

How could I get HttpServletRequest from Web Dynpro. I used the following code

IWDRequest req = WDProtocolAdapter.getProtocolAdapter().getRequestObject();

HttpServletRequest hreq = (HttpServletRequest) reg;

but it's throwing ClassCastException.

Is there any other way?

Thank you

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182372
Active Contributor
0 Kudos

Why would you need HttpServletRequest in WD?

Former Member
0 Kudos

I am building an application based on IPC API. I need to pass HttpSession as a parameter to initialize some IPC objects. Mainly trying to create IPCClient object.