Servlet changes to support SPA architecture