摘要: 结合tomcat的架构图,展示tomcat如何处理一个http请求: Tomcat的service内部如何处理一个http请求: 步骤讲解: 1、用户点击网页内容,请求被发送到本机端口8080,被在那里监听的Coyote HTTP/1.1 Connector获得。 2、Connector把该请求交给 阅读全文
posted @ 2020-02-07 22:04 cctext 阅读(525) 评论(0) 推荐(1) 编辑
摘要: server.xml配置文件样例: <?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license a 阅读全文
posted @ 2020-02-07 09:43 cctext 阅读(2995) 评论(0) 推荐(0) 编辑