You are on page 1of 1

Get URI

DataWeb User's Guide

Request.getRequestURI()
Syntax Request.getRequestURI() Returns

The URL string corresponding to the current client request.


Description

The string returned does not include the server name or query arguments. If the client's browser was directed at http://webname.dataweb.com/test/expression.csp, the getRequestURI() method would return /test/expression.csp.
Example

response.write("URI: " + Request.getRequestURI()); // prints: "URI: /ObjectCode/sampcode_request.ws" // where "ObjectCode" is a folder in a web

Referencia: http://support.dataweb.com/Help/default.view?Topic=objectmodel/request/request_getrequesturi

You might also like