Installation of Tomcat:
Eclipse needs to install Tomcat itself, which is the server on which the Web project runs. If the use is MyEclipse, inside with Tomcat, easy to remove the deployment of garbage, conducive to project operation.
Tomcat installation Detailed steps: Self-Baidu!
1. What is a servlet?
A component specification developed by Sun to extend the functionality of the Web server.
A) The Web server can handle only static requests and cannot handle dynamic resource requests. A servlet is required to extend the functionality of the Web server. (after the Web service receives the request, call the servlet container to process it, and call the servlet again to evaluate if it needs to be evaluated).
b) Component specification:
Component: A software module that conforms to the specification, implements some functions, and needs to be deployed to the appropriate container.
Container: A program that is compliant and capable of providing a running environment.
Beginner JSP----Know servlet~