It is likely that the filters and servlets you create need to access the Dynamo request and response objects in order to make modifications to data they retrieve during the pipeline-processing. To do so, code your filters and servlets as follows:
Import
atg.servlet.DynamoHttpServletRequest
,atg.servlet.DynamoHttpServletRequest
, andatg.servletServletUtil
.Call
ServletUtil.getDynamoRequest
(request
). This method returns a reference to theDynamoHttpServletRequest
.
Add filters and servlets to web.xml
following the J2EE specifications.