To enable targeted e-mail in an application, the application must run an instance of atg.nucleus.servlet.InitSessionServlet
. For example, the web.xml
file for the atg_bootstrap.war
application includes the following lines:
<servlet>
<servlet-name>InitSessionServlet</servlet-name>
<servlet-class>atg.nucleus.servlet.InitSessionServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>InitSessionServlet</servlet-name>
<url-pattern>/init-session</url-pattern>
</servlet-mapping>
This servlet handles the requests to /dyn/init-session
, and, as its name implies, initializes a session.