on 09-28-2007 4:30 PM
Hello,
as a beginner in Web Dynpro I would like to know if and how it's possible to read http-parameters, e.g. those of "javax.servlet.http.HttpServletRequest" in a WD component..
When I call a WD application by a URL, it could be done from another SAP-Web application where the Request-parameters have been filled - and I want to display/process the contents in WD.
Hope there is a solution for that -
Regards,
Jens
Hi Jens,
you can access HTTP parameters via the WDWebContextAdapter:
You can call in wdDoInit() for instance
String Name = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("parameter-name");
HTH
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you could create a session object to pass parameters like we do in servlets. the parameters could be read from webdynpro component.
regds,
sukanta rudra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.