Web server
Web apps provide services for users to access resources (static resources: HTML, etc./Dynamic resources: Jsp,jar) over the network. To enable users to access resources, program developers not only need to develop resource files, they also need to develop channels that Web servers provide to users to access resources. With the popularity of Web applications, more and more excellent Web servers are emerging to help program developers reduce their workload, allowing program developers to focus only on the availability of resources. At present, the mainstream Web server has weblogic,tomcat,websphere.
First look at how a resource without a Web server can be accessed by the user:
Tomcat and Directory Introduction
Tomcat is essentially a Java application that starts Tomcat by installing the JRE and configuring the path of the JRE to start the Tomcat service properly by using the Tomcat./startup script. The default port is 8080 and can be configured via Server.xml.
Access through the context
Everything is the context
Basic concepts of Web application and Web server (Apache Tomcat)