First, to start from your login.html page, either you need to map it on your deployment descriptor(web.xml), then do HOST_NAME:PORT and after that, in your login.html, put in the form tag, the action...