Add functions to War Servlet