To create a servlet we need to configure a simple entry in the web.xml of the context. For a servlet called CompletedBy the entry would be as follows :