on ‎2008 Feb 25 6:42 PM
Hi,
Using Web Dynpro for Java, how can I retrieve from Http Session one attribute setup by a standard Java app?
The value was setup like this:
IPortalComponentSession compSession = request.getComponentSession();
//where IPortalComponentRequest request
javax.servlet.http.HttpSession thisHttpSession = null;
thisHttpSession = compSession.getHttpSession();
thisHttpSession.setAttribute("myvalue","test");
Request clarification before answering.
Corina,
I am not sure if you can get HTTP session attributes but you may give this a try:
IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
IWDRequest request = protocolAdapter.getRequestObject();
String paramValue = request.getParameter("<atributename>");
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.