Skip to Content
avatar image
Former Member

How to pass parameters through POST

Hi,

Can any one help me how to pass the parameters and read it using POST method in webdynpro java.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 12, 2011 at 10:08 PM

    Use the following code to read URL parameters inside WDJ

    //	Check for URL parameters
    	  IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
    	  IWDRequest request = protocolAdapter.getRequestObject();
    	  String text = request.getParameter("url_parameter");

    Hope this helps.

    Add comment
    10|10000 characters needed characters exceeded