ST - The web.xml file

tool/src/webapp/WEB-INF/web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="Cafe1WebApp" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>Task List</display-name>
    <description>Programmer's Cafe - Task List</description>

	<!-- Sakai request filter -->
	<filter>
        <filter-name>sakai.request</filter-name>
        <filter-class>org.sakaiproject.util.RequestFilter</filter-class>
    </filter>
	
	<filter-mapping>
		<filter-name>sakai.request</filter-name>
		<servlet-name>sakai.tasklist</servlet-name>
		<dispatcher>REQUEST</dispatcher>
		<dispatcher>FORWARD</dispatcher>
		<dispatcher>INCLUDE</dispatcher>
	</filter-mapping>
	
	<servlet>
        <servlet-name>sakai.tasklist</servlet-name>
        <servlet-class>org.sakaiproject.tool.tasklist.TasklistTool</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>

	<!-- tool listener is required -->
    <listener>
        <listener-class>org.sakaiproject.util.ToolListener</listener-class>
    </listener>
    
</web-app>