![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Tomcat
文章平均质量分 86
j357777842
这个作者很懒,什么都没留下…
展开
-
How A Servlet container Works
A servlet container is a complex system. However, basically there are three things that a servlet container does to service a request for a servlet: Creating a requestion instance and populate it with information that may be used by the invoked servlet原创 2010-12-03 23:03:00 · 318 阅读 · 0 评论 -
Tomcat-4 A Simple Servlet Container
This chapter explains how you can develop your own servlet container by presenting two applications. The first application has been designed to be as simple as possible to make it easy for you to understand how a servlet container works. It then evolves in原创 2010-12-03 23:15:00 · 378 阅读 · 0 评论 -
The Hypertext Transfer Protocol(HTTP)
Excerpted from . HTTP Requests: A HTTP request consists of three components: Method-Uniform Resource Identifier(URI)-Protocol/Version Request headers Entity body An example of a HTTP request is the following: GET /index.html HTTP/1.1 Ac原创 2010-12-03 23:06:00 · 512 阅读 · 0 评论 -
Tomcat-3 A Simple Web Server
Excerpted from A web application server must stand by all time as it does not know when a client application will try to connection to it. in order for your application to be able to stan by all the time, you need to use the java.net.ServerSocket class.原创 2010-12-03 23:12:00 · 300 阅读 · 0 评论 -
Tomcat-5 A simple Connector
There are two modules in Catalina: the connector and the container. In this topic you we will enhance the applications in the topic "A Simple Servlet Container" by writing a connector that create better request and response object. A connector compliant wi原创 2010-12-03 23:20:00 · 436 阅读 · 0 评论 -
Tomcat-7 Tomcat Default Connector
A Tomcat connector is an independent module that can be plugged into a servlet container. There are already many connectors in existence. Examples include Coyote, mod_jk, mod_jk2, and mod_webapp, A Tomcat connector must meet the following requirements:原创 2010-12-12 20:05:00 · 1678 阅读 · 0 评论 -
Tomcat(8-2) The Wrapper Application
The wrapper application demonstrates how to write a minimal container module. The wrapper wraps the ModernServlet that you have used in the previous chapters. This application proves that you can have a servlet container consisting only of one wrapper.原创 2010-12-19 18:09:00 · 369 阅读 · 0 评论 -
Tomcat(8) Container
A container is a module that processes the request for a servlet and populates the response object for web client. A container is represented by org.apache.catalina.Container interface and there are four types of containers: Engine, Host, Context, and Wrap原创 2010-12-17 21:39:00 · 393 阅读 · 0 评论 -
Tomcat(8-1) Container Interface
Container interface source code who is excerpted from Tomcat V7. /* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional information regard原创 2010-12-18 13:30:00 · 296 阅读 · 0 评论