The following web page is defined as the custom form login page for authentication. Assuming that you have attempted to access a protected resource and been redirected to this web page, what is the result of filling in the user name and password fields and pressing SUBMIT? (Choose one.) <html> <head><title>Login Form</title></head> <body> <form action="jsecuritycheck" method="POST> <br />Name: <input type="text" name="jusername" /> <br />Password: <input type="password" name="jpassword" /> <br /><input type="submit" value="Log In" /> </form> </body> </html> A.You will not be redirected to this page in the first place. B.HTTP 401 or 403 error (forbidden/not authorized). C.HTTP 404 error (page not found). D.HTTP 500 error (server error). E.The page is redisplayed.
answer is E.
I think it should be C, and I tried it, it's HTTP 404 error (page not found). I am using TomCat 5.5.
Joined: Mar 22, 2005
I would have guessed C as well, since an action of "jsecuritycheck" has no special meaning. In order to invoke the authentication check it should be "j_security_check".