Sun Java System Web Server 7.0 Update 3 NSAPI Developer's Guide

request_translate_uri() Function

The request_translate_uri function performs virtual-to-physical mapping on a specified URI during a specified session. Use this function to determine the file to be sent back if a given URI is accessed.


char *request_translate_uri(char *uri, Session *sn);

Return Values

A path string if the function performed the mapping, or NULL if it could not perform the mapping.


char *uri is the name of the URI.

Session *sn is the Session parameter that is passed into the SAF.

See Also

request_create, request_free, request_header() Function