on 06-07-2006 10:55 AM
Hi all,
does any one have a clue how to get header variables of a request inside a webDynpro. We receive a certain header variable within the request which we need to readout inside the WebDynpro. Since now we didn't find a way how to get the request or even the header variables.
The only thing we saw is a IWDWebContextAdapter which contains only very poor information.
Thanks for any help in advance!!
Martina
1. Add 'servlet.jar' to WebDynpro libraries.
2. Add the following code for fetching the headers.
HttpServletRequest request =((IWebContextAdapter)
WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
Enumeration enum = request.getHeaderNames();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martina,
AFAIK this is not supported in WebDynpro.
Whatever you need cant it be passed as request param hich is accessible thru IWDWebContextAdapter.
Thanks and Regards,
Rohit Jaiswal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
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.