A web site is divided into sections that share subject matter or function, such as My Profile, Product Catalog, and Administration. SetCurrentLocation has a locationMap property that matches a directory of pages to the section name that identifies them. For example, one entry might be:


SetCurrentLocation examines the requestURI and uses locationMap to find the matching section name and section root directory. Then, SetCurrentlocation saves the section name to its location property and the section root directory to the Profile component currentLocation property.

This servlet is used only by the Motorprise Reference Application. For more information on how SetCurrentLocation is used in Motorprise, see the ATG Business Commerce Reference Application Guide.