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 life-cycle events and does not need changing. The filter registered on lines 22 - 29 is used by Waffle for request level life-cycle event.