tomcat webapp content
C:\Program Files\apache-tomcat-7.0.27\webapps\appname
\1 WEB-INF \1 web.xml
2 html/jsp 2 classes
3 ... 3 lib
tomcat architecture
Server(Service(connector1,connector2,Engine(host1,host2)))
注:1 connector用来实现协议连接,如http协议
2 参考C:\Program Files\apache-tomcat-7.0.27\conf\server.xml
tomcat
1 web服务器(接收浏览器的http请求,返回http响应)
2 servlet/jsp容器