had to change web.xml and everything worked