Integrating Apache and Tomcat
The solution, of course, is to allow the two Web servers to work together.
The Apache server will be the principal server, dealing with static documents.
- Or dynamic documents generated by any of the other technologies mentioned in the previous slide.
Apache will forward requests for Servlets or JavaServer Pages to Tomcat.
The approach we describe here is what was called the “out-of-process servlet container” the lectures on Servlets.