Hi All, I surprised to note that <login-config> element in web.xml does not have any mandatory sub element. Now my question is if I don't specify the sub element <auth-method> how does the container authenticate the request?
All the three subelements of <login-config> (<auth-method> , <realm-name> & <form-login- config> are optional. If subelement <auth-method> is not included, the server defaults to HTTP Basic Authentication.
Thanks, Mahesh
--------- SCJP 1.4, SCWCD 1.4, SCBCD 1.3, (SCEA Part I preparing......)
Hi Jothi, I am not sure if there are any DTD for Servlet 2.4. Could you send me the exact URL or page no. of any document that explains what happen when you don't specify the sub-elements of <login-config>?