Tomcat server

1. Common concepts in web development

(1) B/S system and C/S system

Brower/Server: browser server system ------ website

Client/Server: Client server system------QQ, Feiqiu, large game

(2) web application server

Server software for publishing web resources     to the outside

(3) web resources

     The resources that exist and are accessible to the outside world on the web application server are web resources

    For example: html, css, js, pictures, videos, etc. that exist inside the web application server.

    1) Static resources: refers to the data in the web page for people to browse, such as html, css, js

pictures, multimedia.

    2) Dynamic resources: Refers to the data in the web page for people to browse that is generated by the program, and the content seen by visiting the web page at different time points is different.

For example: jsp/Servlet, ASP, PHP.

 javaWEB field: dynamic resources think that html is dynamically formed through java code

 (4) Request and response

 (5) The requested URL address

2. Web application servers commonly used in web development

1) weblogic: Oracle's large charging web server supports all javaee specifications

2) websphere: IBM's large fee-based web server supports all javaee specifications

3) Tomcat: an open source free small web server under the Apache open source organization that supports servlet and jsp specifications in javaee


The key points of the directory listing in Tomcat:

bin (script directory)

conf (configuration directory)

lib (depending on jar package)

logs (log directory)

temp (temp file directory)

webapps (web application distribution directory)

work (the working directory where Tomcat handles jsp)

6. The directory structure of the web application


Note: The WEB-INF directory is protected and cannot be directly accessed by the outside world





Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325358818&siteId=291194637