web.xml

The web.xml below provides a base for you to build your applications upon. Lines 11 - 14 declare which custom Registrar should be used for your application. The listener registered on lines 17 - 19 is needed so that Waffle is alerted of application (ServletContext) and session lifecycle events. The filter registered on lines 22 - 29 is used by Waffle for request level lifecycle event.