Updated web.xml for add thread.