web.xml~16~
上传用户: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.   <servlet>
  5.     <servlet-name>action</servlet-name>
  6.     <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
  7.     <init-param>
  8.       <param-name>debug</param-name>
  9.       <param-value>2</param-value>
  10.     </init-param>
  11.     <init-param>
  12.       <param-name>config</param-name>
  13.       <param-value>/WEB-INF/struts-config.xml</param-value>
  14.     </init-param>
  15.     <load-on-startup>2</load-on-startup>
  16.   </servlet>
  17.   <servlet-mapping>
  18.     <servlet-name>action</servlet-name>
  19.     <url-pattern>*.do</url-pattern>
  20.   </servlet-mapping>
  21.   <taglib>
  22.     <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
  23.     <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
  24.   </taglib>
  25.   <taglib>
  26.     <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
  27.     <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
  28.   </taglib>
  29.   <taglib>
  30.     <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
  31.     <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
  32.   </taglib>
  33.   <taglib>
  34.     <taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>
  35.     <taglib-location>/WEB-INF/struts-template.tld</taglib-location>
  36.   </taglib>
  37. </web-app>