server.xml的基本配置

<Server><!--   整个xml文件的根元素  -->

<Service><!--   一个engine元素和一组与之相连的connector元素  -->
<Connector />

<!--   代表了外部客户端发送请求到特定的service的接口 ,也是外部客户端从特定service接收响应的接口-->

<Connector />

 

<!--   engine、host和context都是容器,engine是host的父,host是context的父  -->
<Engine><!--   处理connector接受的请求,并产生响应  -->
<Host>

<!--     -->
<Context /><!-- 现在常常使用自动部署,不推荐配置Context元素,Context小节有详细说明 -->
</Host>

<!--     -->
</Engine>
</Service>


</Server>

posted on 2018-05-14 18:59  nilknow  阅读(87)  评论(0)    收藏  举报