1Multi-Select
The following statements about Tomcat are correct:
- A.tomcat will listen to the port to get the user's request
- B.tomcat will complete the HTTP message format parsing of the user's HTTP request
- C.tomcat is a Web container that invokes the user's code logic
- The open source protocol used by D.tomcat is Apache License
- E.tomcat, like OpenJDK, is written by C + +.
- F.tomcat is a development tool
For the features of the Tomcat installation directory under the subdirectory, the following statements are incorrect:
- The a.conf directory contains some jar files that the Tomcat boot needs to rely on
- B. By default, when you publish your app, place the application in the WebApps directory
- C.bin directory, only a few scripts, no jar package
- D.lib directory, the configuration file used primarily by Tomcat
- E. Startup shutdown related scripts are in the bin directory
The following information can be configured in the Tomcat configuration file Server.xml:
- Thread pool parameters used by A.connector
- B.tomcat the access log output format
- C.connector Port number for monitoring
- D.tomcat CPU affinity for running processes
When accessing the Tomcat deployment application, the following error occurred, typically caused by:
- A.tomcat started correctly, but the URL entered when the browser was accessed has an error
- B. The wrong Tomcat listener Port was entered when the browser was accessed
- C. Forgot to start the Tomcat app, so not Found
- D. The user does not have permission to start Tomcat, which is actually a failure when starting Tomcat
- E.tomcat Normal startup, but due to user logic code bug, in the run out of the exception that was not caught by the user
2. Judgment
Tomcat default listener port is 8080 and cannot be modified
Coyote is the implementation of Tomcat's connector component, which mainly accomplishes the functions related to network communication.
The Access log format for Tomcat can be configured
Tomcat can only invoke the user's code to generate a dynamic response, unable to process static files
Tomcat can be used independently as a Web server
Tomcat can handle only the HTTP 1.0 protocol and cannot process the HTTP 1.1 protocol
The implementation of the container part of Tomcat is Catalina, which invokes the Java code that executes the user
Getting Started with Java Web development-tomcat Unit Quiz