本章讲述Container,它的作用是处理request和response对象。本章讲述org.apache.catalina.Container接口,四种container:Engine, Host, Context, and Wrapper中的两种Context和Wrapper,其余两种在13章讲
。此前会先说说pipelining机制。
一,Container接口
每个Connector都要有一个Container:
HttpConnector connector = new HttpConnector();
SimpleContainer container = new SimpleContainer();
connector.setContainer(container);
说一下四种Container的作用:
Engine. Represent......
阅读全文