Hi,
I'm having some trouble understanding how the extension mapping works
for servlets and struts. In the web.xml file, the following extension
mapping for the struts ActionServlet is used:
<servlet-mapping>
<servlet-name>ActionServlet</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
I understand that any request URIs that end with .do will be passed to
the ActionServlet. What I don't understand is where the .do extension
is even attached. All of my forms have an action of /login or
/checkout, for example. I "could" specify /login.do or /checkout.do,
but I'm not. So what I don't understand is why do these requests still
get mapped to the ActionServlet ? Is ".do" being attached to the
request URI somehow and where ? when ?
I just need this little bit clarified.
Thanks,
Jamie