A template for a web application based on java servlets