To enable the ADC processor pipeline, the web.xml
file for store.war
includes the following:
<filter> <filter-name>ADCDataInsertFilter</filter-name> <filter-class> atg.filter.ConditionalDelegatingFilter </filter-class> <init-param> <param-name>targetFilter</param-name> <param-value> atg.adc.filter.ADCDataInsertFilter </param-value> </init-param> <init-param> <param-name>mimeTypes</param-name> <param-value>text/html</param-value> </init-param> </filter> <filter-mapping> <filter-name>ADCDataInsertFilter</filter-name> <url-pattern>*.jsp</url-pattern> </filter-mapping>
These settings specify that the atg.filter.ConditionalDelegatingFilter
should run the atg.adc.filter.ADCDataInsertFilter
if it is present. The ADCDataInsertFilter
invokes the ADC processor pipeline. The filter is part of the ADC
module, which is automatically included in the assembled EAR file when you specify the Store.Recommendations
module.