1 <servlet> 2 <!-- 文件名 --> 3 <servlet-name>deleteServlet</servlet-name> 4 <!-- 文件目录 --> 5 <servlet-class>cqvie.yjq.servlet.deleteServlet</servlet-class> 6 </servlet> 7 8 <servlet-mapping> 9 <!-- 映射文件名 --> 10 <servlet-name>deleteServlet</servlet-name> 11 <!-- 映射文件目录 --> 12 <url-pattern>/servlet/deleteServlet</url-pattern> 13 </servlet-mapping>