Java Web is the sum of technologies that use Java technology to solve related web and Internet fields. The web includes two parts: a web server and a web client. The application of Java on the client side has java applet, but it is rarely used now. The application of Java on the server side is very rich, such as Servlet, JSP and third-party frameworks.
Servlet container
Provide web operating environment
Responsible for the life cycle of JSP and Servlet
Common web container
name
Description
Owned company
Tomcat
The most popular open source web server container
Apache Open Source Organization
Jetty
Fast and small web server
Eclipse
WebLogic
Commercial, relatively large and fully functional JavaEE server
Oracle
JBoos
Open source more popular web server
RedHat (Red Hat)
Comparison mode
C/S
B/S
Standard Web project structure
When the project is deployed, it is usually marked as *.war package
WebContent: The root directory of the project
Other resource files (jsp, html, css, jsp, png)
WEB-INF: lib-project jar package, classes-project bytecode, web.xml-project configuration file