Products Downloads


French version


 

 

This function retrieves the URL from the http request used by the client. The URL returned is made up of the following elements:

  • protocol,
  • name of the server,
  • port,
  • path on the server.

The strings of parameters are not included in the returned URL.

 

Context

  • Adelia Web Client

 

Parameters

ALPHA (n)

ReqURL

URL of the HTTP request.

BOOL

ReturnCode

Return code for the operation:

*TRUE   if the operation was completed successfully.

*FALSE  if it was not.

 

Example

ALPHA(128)

RequestURL

BOOL

ReturnCode

 

/* Retrieving the URL of the last HTTP request initiated by the client

CALL_CLASS 'VaToolBx' 'VaToolBxAwsGetRequestURL' RequestURL ReturnCode

 

/* Output URL Request contains http://www.hardis.fr:80/TGEN9/HTML/MYJSP.jsp

 

List of the VaToolBx functions by topic

 

↑ Top of page

  • Aucune étiquette