configure the new test java code in web.xml

configure the new test servlet in web.xml and write the entrance in
index.html