Class |
|
---|---|
Component |
|
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:
/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 Business Commerce Reference Application Guide.