When the user clicks a link I have to make a call to a remote (different domain) web service to get an access token and then redirect them to a different page on that remote domain. So I updated the web.xml to map a new URL pattern: