created servlets and html template code