Class

atg.projects.b2bstore.servlet.WASetCurrentLocation

Component

/atg/dynamo/servlet/dafpipeline/SetCurrentLocation

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.


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices