commit how tomcat works in chapter4.