switch to defining /api* in web.xml