Class |
|
---|---|
Component |
|
A Web site is divided into sections, such as My Profile, Product Catalog, and Administration, that share subject matter or function. SetCurrentLocation
has a locationMap
property that matches a directory of pages to the section name that identifies them. For example, one entry might be:
/MotorpriseJSP/en/user/=my_account
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 SetCurrentLocation section of the RequestPipelineServlets chapter of the ATG Business Commerce Reference Application Guide.