web.xml~158~
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:2k
源码类别:

OA系统

开发平台:

Java

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
  3.   <display-name>officeol</display-name>
  4.   <welcome-file-list>
  5.     <welcome-file>index.jsp</welcome-file>
  6.   </welcome-file-list>
  7.   <servlet>
  8.     <servlet-name>action</servlet-name>
  9.     <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
  10.     <init-param>
  11.       <param-name>config</param-name>
  12.       <param-value>/WEB-INF/struts-config.xml</param-value>
  13.     </init-param>
  14.     <init-param>
  15.       <param-name>debug</param-name>
  16.       <param-value>2</param-value>
  17.     </init-param>
  18.     <load-on-startup>2</load-on-startup>
  19.   </servlet>
  20.   <servlet-mapping>
  21.     <servlet-name>action</servlet-name>
  22.     <url-pattern>*.do</url-pattern>
  23.   </servlet-mapping>
  24.   <jsp-config>
  25.     <taglib>
  26.       <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
  27.       <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
  28.     </taglib>
  29.     <taglib>
  30.       <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
  31.       <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
  32.     </taglib>
  33.     <taglib>
  34.       <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
  35.       <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
  36.     </taglib>
  37.     <taglib>
  38.       <taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
  39.       <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
  40.     </taglib>
  41.     <taglib>
  42.       <taglib-uri>/WEB-INF/struts-nested.tld</taglib-uri>
  43.       <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
  44.     </taglib>
  45.   </jsp-config>
  46.   <servlet>
  47.     <description>Added by JBuilder to compile JSPs with debug info</description>
  48.     <servlet-name>debugjsp</servlet-name>
  49.     <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
  50.     <init-param>
  51.       <param-name>classdebuginfo</param-name>
  52.       <param-value>true</param-value>
  53.     </init-param>
  54.     <load-on-startup>3</load-on-startup>
  55.   </servlet>
  56.   <servlet-mapping>
  57.     <servlet-name>debugjsp</servlet-name>
  58.     <url-pattern>*.jsp</url-pattern>
  59.   </servlet-mapping>
  60. </web-app>