template for servlet