created the servlet mappings in web xml and added spring xml files and log4j