updated index.html and created ServletConstants