cancel
Showing results for 
Search instead for 
Did you mean: 

How to access Servlet information from a webdynpro application ?

0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

http://www.sam-solutions.net