added and modified servlet and modifid test.jsp and pom.xml