I'm new to java web dev. I've done my research, but still couldn't figure this out on my own.
I'm trying to analyze a project, it integrates spring, struts and hibernate. Spring for POJO and basic application development, struts appear to be used for handling the requests and more "web-ish" part of the project while hibernate together with hql is used for database interfacing.
I was very, very curious about how the flow of information works, particularly for the post method. Through lengthy but rewarding studies, it appears that, after getting out of the TLS/SSL tunnel, the decrypted http (decrypted so the "s" part probably no longer exist, lol) requests (which are ascii texts) will be sent to the java objects (instantiated from java classes, likely compiled, of course) container. And these objects are usually referred to as servlets (correct me if I'm wrong).
The puzzling part pops up when I'm trying to figure out just how the container decides which servlet it gives the requests to. Again by researching it appears that it is usually handled by a configuration file called web.xml, but strangely I couldn't find any tag in this file like it is supposed to be, let alone a servlet with a name that matches the "target" name specified by the action property, shown below:
<form action="<%=context %>/handler/register" method="post">
Yet the entire project runs just fine on the Tomcat server. the only conclusion I can draw is that there must be other ways to configure the "java object container" in the tomcat server to handle user requests. What are they?/What is it?
Also there could be a lot of mis-concept in my understanding, e.g. the whole java-class-object part, correct me if I'm wrong would you be so kind.