on 10-30-2006 11:24 AM
Hi,
I would like to access the URL parameters from a webdynpro application. One method i found to get the same is to get the servlet information from which i can get servlet request information and can directly access the url parameters from that. Can anyone help me on how to access the servlet information from a webdynpro application using Java?
Any other suggestion on how to access URL parameters using java from a webdynpro application would be of great help.
Hi Deepti,
You can use bellow code to access the URL parameters from web dynpro
WDWebContextAdapter.getWebContextAdapter().getRequestParameter("param");
or
WDProtocolAdapter.getProtocolAdapter().getRequestParameter("param");
Ninad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Deepti,
Search this forum for <b>WDProtocolAdapter</b> if you are on NW04s or for term <b>WDWebContextAdapter</b> otherwise (NW04). In later case do not use Requerst object and internal methods to get reference, use standard API methods instead.
Valery Silaev
SaM Solutions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.