一:Tomcat基本目录:
WEB-INF:
1:classes:classes directory is where you place Java class files, whether they are servlets or other class files used by a servlet, JSP, or other part of your application's code.
2:lib:the lib directory is where you put Java Archive (JAR) files containing packages of classes.
3:web.xml:web.xml file is known as a deployment descriptor, which contains configuration for the web application, a description of the application, and any additional customization..
二:Tomcat基本配置
servlet-name&uil-pattern要和你web中的action保持一致。
servlet-class就是你要交给的servlet的名称