This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
From reading head first JSP and servlet my understanding of request handling is that when a request comes in the container finds the URL pattern that best matches it and uses that to determine which servlet to invoke to handle the request.
Currently I have the following web.xml, struct-config file and login page
The value of my action attribute for my login page is "/login" ......it doesn't have an extension of "do" but the container is still able to use the struts-config file to invoke my actionform class to do the validation when I submit the page.
How is this possible and there is no matching url pattern of "/login" in my web.xml file?
I will like to know whether all incoming requests are intercepted by the Struts servlet controller regardless of the specified value of the
action attribute in the form and that one just has to ensure that the request path is specified in the action element of the struts-config file