I am facing an issue with form based authentication.
When I access the secured URL, I am thrown the login.html which is configured in web.xml. The login.html's form method and action is POST and j_security_check
After I enter the valid userid and password, the browser redirects to http://localhost:8080/myapp/j_security_check Furthermore it displays the error.html that is specified in the web.xml.
BASIC is working just fine. Not sure what I'm doing wrong with FORM based.
Can someone please help.
subject: Form based authentication fails with j_security_check in url