web.xml~3~
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:1k
源码类别:

Java编程

开发平台:

Java

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
  3. <web-app>
  4.   <filter>
  5.     <filter-name>servlet2</filter-name>
  6.     <filter-class>filter5.Servlet2</filter-class>
  7.   </filter>
  8.   <filter-mapping>
  9.     <filter-name>servlet2</filter-name>
  10.     <url-pattern>/servlet1</url-pattern>
  11.   </filter-mapping>
  12.   <servlet>
  13.     <servlet-name>servlet1</servlet-name>
  14.     <servlet-class>filter5.Servlet1</servlet-class>
  15.   </servlet>
  16.   <servlet-mapping>
  17.     <servlet-name>servlet1</servlet-name>
  18.     <url-pattern>/servlet1</url-pattern>
  19.   </servlet-mapping>
  20. </web-app>