Documentation Index

本文档详尽介绍了ApacheTomcat10.0的特性与使用方法,包括Servlet5.0和JavaServerPages3.0规范的实现,以及一系列高级特性,如SSL/TLS、虚拟主机、集群配置等,适用于web应用开发与部署。

Tomcat Home
The Apache Software Foundation
Apache Tomcat 10
Version 10.0.0-M4, Apr 3 2020
Links

Docs Home
FAQ
User Comments

User Guide

1) Introduction
2) Setup
3) First webapp
4) Deployer
5) Manager
6) Host Manager
7) Realms and AAA
8) Security Manager
9) JNDI Resources
10) JDBC DataSources
11) Classloading
12) JSPs
13) SSL/TLS
14) SSI
15) CGI
16) Proxy Support
17) MBeans Descriptors
18) Default Servlet
19) Clustering
20) Load Balancer
21) Connectors
22) Monitoring and Management
23) Logging
24) APR/Native
25) Virtual Hosting
26) Advanced IO
27) Mavenized
28) Security Considerations
29) Windows Service
30) Windows Authentication
31) Tomcat's JDBC Pool
32) WebSocket
33) Rewrite
34) CDI 2 and JAX-RS
35) GraalVM Support

Reference

Release Notes
Configuration
Tomcat Javadocs
Servlet 5.0 Javadocs
JSP 3.0 Javadocs
EL 4.0 Javadocs
WebSocket 2.0 Javadocs
JASPIC 2.0 Javadocs
Annotations 2.0 Javadocs
JK 1.2 Documentation

Apache Tomcat Development

Building
Changelog
Status
Developers
Architecture
Functional Specs.
Tribes

Documentation Index
Introduction

This is the top-level entry point of the documentation bundle for the Apache Tomcat Servlet/JSP container. Apache Tomcat version 10.0 implements the Servlet 5.0 and JavaServer Pages 3.0 specifications from Jakarta EE, and includes many additional features that make it a useful platform for developing and deploying web applications and web services.

Select one of the links from the navigation menu (to the left) to drill down to the more detailed documentation that is available. Each available manual is described in more detail below.
Apache Tomcat User Guide

The following documents will assist you in downloading and installing Apache Tomcat, and using many of the Apache Tomcat features.

Introduction - A brief, high level, overview of Apache Tomcat.
Setup - How to install and run Apache Tomcat on a variety of platforms.
First web application - An introduction to the concepts of a web application as defined in the Servlet Specification. Covers basic organization of your web application source tree, the structure of a web application archive, and an introduction to the web application deployment descriptor (/WEB-INF/web.xml).
Deployer - Operating the Apache Tomcat Deployer to deploy, precompile, and validate web applications.
Manager - Operating the Manager web app to deploy, undeploy, and redeploy applications while Apache Tomcat is running.
Host Manager - Operating the Host Manager web app to add and remove virtual hosts while Apache Tomcat is running.
Realms and Access Control - Description of how to configure Realms (databases of users, passwords, and their associated roles) for use in web applications that utilize Container Managed Security.
Security Manager - Configuring and using a Java Security Manager to support fine-grained control over the behavior of your web applications.
JNDI Resources - Configuring standard and custom resources in the JNDI naming context that is provided to each web application.
JDBC DataSource - Configuring a JNDI DataSource with a DB connection pool. Examples for many popular databases.
Classloading - Information about class loading in Apache Tomcat, including where to place your application classes so that they are visible.
JSPs - Information about Jasper configuration, as well as the JSP compiler usage.
SSL/TLS - Installing and configuring SSL/TLS support so that your Apache Tomcat will serve requests using the https protocol.
SSI - Using Server Side Includes in Apache Tomcat.
CGI - Using CGIs with Apache Tomcat.
Proxy Support - Configuring Apache Tomcat to run behind a proxy server (or a web server functioning as a proxy server).
MBeans Descriptors - Configuring MBean descriptors files for custom components.
Default Servlet - Configuring the default servlet and customizing directory listings.
Apache Tomcat Clustering - Enable session replication in a Apache Tomcat environment.
Balancer - Configuring, using, and extending the load balancer application.
Connectors - Connectors available in Apache Tomcat, and native web server integration.
Monitoring and Management - Enabling JMX Remote support, and using tools to monitor and manage Apache Tomcat.
Logging - Configuring logging in Apache Tomcat.
Apache Portable Runtime - Using APR to provide superior performance, scalability and better integration with native server technologies.
Virtual Hosting - Configuring virtual hosting in Apache Tomcat.
Advanced IO - Extensions available over regular, blocking IO.
Additional Components - Obtaining additional, optional components.
Using Tomcat libraries with Maven - Obtaining Tomcat jars through Maven.
Security Considerations - Options to consider when securing an Apache Tomcat installation.
Windows Service - Running Tomcat as a service on Microsoft Windows.
Windows Authentication - Configuring Tomcat to use integrated Windows authentication.
High Concurrency JDBC Pool - Configuring Tomcat to use an alternative JDBC pool.
WebSocket support - Developing WebSocket applications for Apache Tomcat.
URL rewrite - Using the regexp based rewrite valve for conditional URL and host rewrite.
CDI and JAX-RS support - Configuring CDI,JAX-RS and Eclipse Microprofile support.

Reference

The following documents are aimed at System Administrators who are responsible for installing, configuring, and operating an Apache Tomcat server.

Release notes - Known issues in this Apache Tomcat release.
Apache Tomcat Server Configuration Reference - Reference manual that documents all available elements and attributes that may be placed into the Apache Tomcat conf/server.xml file.
JK Documentation - Complete documentation and HOWTOs on the JK native webserver connector, used to interface Apache Tomcat with servers like Apache HTTPd, IIS and others.
Servlet 4.0 Specification and Javadoc
JSP 2.3 Specification and Javadoc
EL 3.0 Specification and Javadoc
WebSocket 1.1 Specification and Javadoc
JASPIC 1.1 Specification and Javadoc

Apache Tomcat Developers

The following documents are for Java developers who wish to contribute to the development of the Apache Tomcat project.

Building from Source - Details the steps necessary to download Apache Tomcat source code (and the other packages that it depends on), and build a binary distribution from those sources.
Changelog - Details the changes made to Apache Tomcat.
Status - Apache Tomcat development status.
Developers - List of active Apache Tomcat contributors.
Functional Specifications - Requirements specifications for features of the Catalina servlet container portion of Apache Tomcat.
Javadocs - Javadoc API documentation for Apache Tomcat's internals.
Apache Tomcat Architecture - Documentation of the Apache Tomcat Server Architecture.

Copyright © 1999-2020, The Apache Software Foundation

To generate documentation using Doxygen, you need to follow a series of steps that involve configuration, documentation of source code, and the actual generation of output. Below is a detailed guide: 1. **Installation and Setup**: Ensure that Doxygen is installed on your system. If not, you can download it from the official website or clone the repository from GitHub[^4]. After downloading, compile and install it if you are using a source distribution, or install it using a package manager if available for your operating system. 2. **Configuration**: Run the `doxygen` command with the `-g` option to generate a configuration file, typically named `Doxyfile`. This file contains numerous options that control how Doxygen processes your source code and generates documentation. You can edit this file to set options like the project name, output format (HTML, LaTeX, etc.), and whether to extract all entities or only documented ones (`EXTRACT_ALL` option)[^3]. 3. **Documenting Source Code**: You can document your code by placing special documentation blocks in front of or directly after the declaration or definition of members, classes, namespaces, and files. These blocks can be written using Doxygen's special commands or markdown syntax. For example: ```cpp /** * @brief A brief description of the function. * * A more detailed description of the function. * * @param param1 Description of the first parameter. * @param param2 Description of the second parameter. * @return Description of the return value. */ int exampleFunction(int param1, double param2); ``` 4. **Running Doxygen**: Once your source code is documented and the configuration file is properly set up, you can run Doxygen without any arguments to generate the documentation based on the settings in the `Doxyfile`. This will parse your source files and create the documentation in the specified output format(s)[^2]. 5. **Viewing the Output**: Depending on the output formats you have chosen, Doxygen will generate documentation in directories specified in the configuration file. For HTML output, you can open the `index.html` file in a web browser to view the generated documentation. 6. **Customization and Advanced Features**: You can customize the look and feel of the documentation, include images and formulas, and use markdown syntax and plain HTML for precise text formatting[^1]. You can also link documentation blocks placed elsewhere to specific entities using structural commands[^3]. By following these steps, you can effectively use Doxygen to generate comprehensive and detailed documentation for your software projects.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值