A RESTful browser for eXist Java-Based Function Modules


http://exist-db.org/xquery/request
A module for dealing with HTTP requests.

request:get-servlet-path() xs:string
Returns the servlet path of the current request, i.e. the portion of the request URI that points to the servlet which is handling the request.
For example an xquery GET or POST to /some/path/myfile.xq/extra/path will return /some/path/myfile.xq when myfile.xq is executed.

Returns the servlet path of the current request
Return to list of all modules