Class |
|
---|---|
Component |
|
DynamoServlet
sets various properties of the DynamoHttpServletRequest
to point to other services in an Oracle Commerce Platform application. This includes the request scope manager and the MIME typer. These are all services necessary to provide the functionality offered by the DynamoHttpServletRequest
.
This servlet is also responsible for determining if a resolved URL should include a context path, using the encodeContextPathModeProperty
. This property accepts the following numeric values
0
(ENCODE_NONE
): The resultant URL does not have a context path.1
(ENCODE_CONTEXT_PATH
): The context path defined for the web application should be inserted in the resultant URL. This value is used when none is explicitly provided.2
(ENCODE_IF_NOT_THERE
): Causes the Oracle Commerce Platform to check the URL for a context path. If the first entry in the URL is not a context path defined for that web application, the context path is inserted in the final URL.