Javaweb usually refers to Java application development on the server side.
In general, the server is operating under network communication conditions, which can not be separated from the HTTP protocol.
The HTTP protocol is the specification for server and client communication, which specifies the format of the information, which can be recognized by the server and feedback information. Request refers to the information that the client sends to the service compiler, and the response (response) refers to the information that the server feeds back to the client.
Tomcat, a Servlet container, can run on a Web server and run a Java Servlet, but it does not implement the EE specification.
The JSP,JAV service page, which is a Web file format designed to alleviate the HTML effort when writing a servlet, is still essentially a servlet class that will be converted to a servlet on the server side to run, The servlet class file generated by the Tomcat conversion JSP file and its source code can be seen in Tomcat's work directory.
Servlet, is an interface, the implementation of the class is also referred to as servlet, these classes can be called by the Tomcat and other containers to implement the service side of the application function. The servlet that we write is recognized by Tomcat when it is configured in Web. XML, and when the client accesses the servlet for the first time, Tomcat creates the servlet instance in a reflective manner, invokes its Init method, and then calls its service method, and then accesses it again, and only calls its S Ervice method.
Know Javaweb,servlet, JSP, Tomcat, HTTP protocol, Web server