Configuration of Tomcat 7
Until now, we have discussed the various configuration files of Tomcat 7. Now, the interesting part starts while implementing these in practical, or on live systems.
Before we learn the details of the Tomcat server configuration, let's quickly understand how the web application works from the following steps:
1. Whenever you hit the URL (for example, www.abc.com), the browser will contact the DNS server.
2. The DNS server will contact the ISP for the required information.
3. Once the web server accepts the request from the client browser, it will redirect it to the database server.
4. In turn, the database server will retrieve the query and respond it back to the web server.
5. The web server then forwards the same response to the client browser, and finally, the client browser will display the content to the user.
That's how the web browser gets the content generated by the web server. The following figure explains the web application functionality and different components...