Show TOC

Background documentationRequest Attributes When Using Application Zones Locate this document in the navigation structure

 

You can retrieve information about the application zone that the current request belongs to (when application zones are being used on the AS Java) in your servlet code. You retrieve them as request attributes using the getAttribute(String s) method of the HttpServletRequest object.

The following three attributes are available to servlet developers:

Attribute Name

Value

com.sap.servlet.separator.zone

Contains the character that is used as a separator between the application alias name and the zone name. The zone separator is not configured.

com.sap.servlet.request.alias

Contains the alias name of the application (without a zone identifier attached to it).

com.sap.servlet.request.zone

Contains the application zone name that the request belongs to.