Skip to Content
avatar image
Former Member

How to access Servlet information from a webdynpro application ?

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 30, 2006 at 05:32 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 31, 2006 at 06:08 AM

    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

    Add comment
    10|10000 characters needed characters exceeded