web.xml~4~
上传用户: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>debugjsp</servlet-name>
  14.     <description>Added to compile JSPs with debug info</description>
  15.     <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
  16.     <init-param>
  17.       <param-name>classdebuginfo</param-name>
  18.       <param-value>true</param-value>
  19.     </init-param>
  20.     <load-on-startup>3</load-on-startup>
  21.   </servlet>
  22.   <servlet>
  23.     <servlet-name>servlet1</servlet-name>
  24.     <servlet-class>filter5.Servlet1</servlet-class>
  25.   </servlet>
  26.   <servlet-mapping>
  27.     <servlet-name>debugjsp</servlet-name>
  28.     <url-pattern>*.jsp</url-pattern>
  29.   </servlet-mapping>
  30.   <servlet-mapping>
  31.     <servlet-name>servlet1</servlet-name>
  32.     <url-pattern>/servlet1</url-pattern>
  33.   </servlet-mapping>
  34. </web-app>