Note that if you use any of the web.xml snippets below, you should take care to position the elements in your target web.xml carefully. Tomcat 4, for instance, requires tags in a particular order (it will usually work to keep servlet declarations grouped together and servlet mappings grouped together). Descriptive things, if you wish. Red Hat CCM Red Hat Content and Collaboration Management webmaster webmaster@yourdomain.com The email address of the administrator to whom questions and comments about this application should be addressed. To turn on database health monitoring: db-tester com.arsdigita.web.monitoring.DBTestServlet db-tester /__ccm__/monitoring/db-test The prefixer servlet adds prefixes to chosen classes of requests. This is useful if you wish to migrate users off the old dispatcher to the new dispatcher, which uses a prefix for URLs. The following snippet assumes your dispatcher is mapped to "/ccm/*". prefixer com.arsdigita.web.PrefixerServlet prefix /ccm prefixer /register/* prefixer /permissions/* prefixer /categorization/* prefixer /formbuilder/* prefixer /admin/* The internal prefixer allows arbitrary prefixes to be set up in web.xml such as /textonly, /printer, /debug, etc. This enables the entire site to be switched to alternative modes of operation e.g., completely switching to an alternative set of stylesheets. Today you will most likely use CSS capabilities to achieve that. TextOnlyServlet Text Only Servlet com.arsdigita.web.InternalPrefixerServlet prefix /text TextOnlyServlet /text/* PrintFriendlyServlet Printer Friendly Output Servlet com.arsdigita.web.InternalPrefixerServlet prefix /print PrintFriendlyServlet /print/* Define the default session timeout for your application, in minutes. From a servlet or JSP page, you can modify the timeout for a particular session dynamically by using HttpSession.getMaxInactiveInterval(). 30 This servlet is used for Cactus Unit testing. ServletRedirector org.apache.commons.cactus.server.ServletTestRedirector 3 ServletRedirector /ServletRedirector