web.xml~714~
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:6k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

JavaScript

  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>web</display-name>
  4.   <filter>
  5.     <filter-name>SetCharacterEncoding</filter-name>
  6.     <filter-class>com.chinacannel.common.SetCharacterEncodingFilter</filter-class>
  7.   </filter>
  8.   <filter-mapping>
  9.     <filter-name>SetCharacterEncoding</filter-name>
  10.     <url-pattern>/*</url-pattern>
  11.   </filter-mapping>
  12.   <jsp-config>
  13.     <taglib>
  14.       <taglib-uri>FCKeditor</taglib-uri>
  15.       <taglib-location>/WEB-INF/FCKeditor.tld</taglib-location>
  16.     </taglib>
  17.     <taglib>
  18.       <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
  19.       <taglib-location>/WEB-INF/c.tld</taglib-location>
  20.     </taglib>
  21.     <taglib>
  22.       <taglib-uri>http://java.sun.com/jstl/core_rt</taglib-uri>
  23.       <taglib-location>/WEB-INF/c-rt.tld</taglib-location>
  24.     </taglib>
  25.     <taglib>
  26.       <taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
  27.       <taglib-location>/WEB-INF/fmt.tld</taglib-location>
  28.     </taglib>
  29.     <taglib>
  30.       <taglib-uri>http://java.sun.com/jstl/fmt_rt</taglib-uri>
  31.       <taglib-location>/WEB-INF/fmt-rt.tld</taglib-location>
  32.     </taglib>
  33.     <taglib>
  34.       <taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
  35.       <taglib-location>/WEB-INF/sql.tld</taglib-location>
  36.     </taglib>
  37.     <taglib>
  38.       <taglib-uri>http://java.sun.com/jstl/sql_rt</taglib-uri>
  39.       <taglib-location>/WEB-INF/sql-rt.tld</taglib-location>
  40.     </taglib>
  41.     <taglib>
  42.       <taglib-uri>http://java.sun.com/jstl/xml</taglib-uri>
  43.       <taglib-location>/WEB-INF/x.tld</taglib-location>
  44.     </taglib>
  45.     <taglib>
  46.       <taglib-uri>http://java.sun.com/jstl/xml_rt</taglib-uri>
  47.       <taglib-location>/WEB-INF/x-rt.tld</taglib-location>
  48.     </taglib>
  49.     <taglib>
  50.       <taglib-uri>/WEB-INF/struts-html-el.tld</taglib-uri>
  51.       <taglib-location>/WEB-INF/struts-html-el.tld</taglib-location>
  52.     </taglib>
  53.     <taglib>
  54.       <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
  55.       <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
  56.     </taglib>
  57.     <taglib>
  58.       <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
  59.       <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
  60.     </taglib>
  61.     <taglib>
  62.       <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
  63.       <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
  64.     </taglib>
  65.     <taglib>
  66.       <taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>
  67.       <taglib-location>/WEB-INF/struts-template.tld</taglib-location>
  68.     </taglib>
  69.     <taglib>
  70.       <taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
  71.       <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
  72.     </taglib>
  73.     <taglib>
  74.       <taglib-uri>/WEB-INF/struts-nested.tld</taglib-uri>
  75.       <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
  76.     </taglib>
  77.     <taglib>
  78.       <taglib-uri>/WEB-INF/ShowLetter.tld</taglib-uri>
  79.       <taglib-location>/WEB-INF/ShowLetter.tld</taglib-location>
  80.     </taglib>
  81.   </jsp-config>
  82.   <servlet>
  83.     <servlet-name>log4j-init</servlet-name>
  84.     <servlet-class>com.chinacannel.common.Log4jInit</servlet-class>
  85.     <init-param>
  86.       <param-name>log4j</param-name>
  87.       <param-value>WEB-INF/classes/log4j.properties</param-value>
  88.     </init-param>
  89.     <load-on-startup>1</load-on-startup>
  90.   </servlet>
  91.   <servlet>
  92.     <servlet-name>Connector</servlet-name>
  93.     <servlet-class>com.fredck.FCKeditor.connector.ConnectorServlet</servlet-class>
  94.     <init-param>
  95.       <param-name>baseDir</param-name>
  96.       <param-value>/uploadfiles/</param-value>
  97.     </init-param>
  98.     <init-param>
  99.       <param-name>debug</param-name>
  100.       <param-value>false</param-value>
  101.     </init-param>
  102.     <load-on-startup>1</load-on-startup>
  103.   </servlet>
  104.   <servlet>
  105.     <servlet-name>SimpleUploader</servlet-name>
  106.     <servlet-class>com.fredck.FCKeditor.uploader.SimpleUploaderServlet</servlet-class>
  107.     <init-param>
  108.       <param-name>baseDir</param-name>
  109.       <param-value>/uploadfiles/</param-value>
  110.     </init-param>
  111.     <init-param>
  112.       <param-name>debug</param-name>
  113.       <param-value>false</param-value>
  114.     </init-param>
  115.     <init-param>
  116.       <param-name>enabled</param-name>
  117.       <param-value>true</param-value>
  118.     </init-param>
  119.     <init-param>
  120.       <param-name>AllowedExtensionsFile</param-name>
  121.       <param-value>|</param-value>
  122.     </init-param>
  123.     <init-param>
  124.       <param-name>DeniedExtensionsFile</param-name>
  125.       <param-value>php|php3|php5|phtml|asp|aspx|ascx|jsp|cfm|cfc|pl|bat|exe|dll|reg|cgi</param-value>
  126.     </init-param>
  127.     <init-param>
  128.       <param-name>AllowedExtensionsImage</param-name>
  129.       <param-value>jpg|gif|jpeg|png|bmp</param-value>
  130.     </init-param>
  131.     <init-param>
  132.       <param-name>DeniedExtensionsImage</param-name>
  133.       <param-value>|</param-value>
  134.     </init-param>
  135.     <init-param>
  136.       <param-name>AllowedExtensionsFlash</param-name>
  137.       <param-value>swf|fla</param-value>
  138.     </init-param>
  139.     <init-param>
  140.       <param-name>DeniedExtensionsFlash</param-name>
  141.       <param-value>|</param-value>
  142.     </init-param>
  143.     <load-on-startup>1</load-on-startup>
  144.   </servlet>
  145.   <servlet-mapping>
  146.     <servlet-name>Connector</servlet-name>
  147.     <url-pattern>/FCKeditor/editor/filemanager/browser/default/connectors/jsp/connector</url-pattern>
  148.   </servlet-mapping>
  149.   <servlet-mapping>
  150.     <servlet-name>SimpleUploader</servlet-name>
  151.     <url-pattern>/FCKeditor/editor/filemanager/upload/simpleuploader</url-pattern>
  152.   </servlet-mapping>
  153.   <servlet>
  154.     <servlet-name>action</servlet-name>
  155.     <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
  156.     <init-param>
  157.       <param-name>config</param-name>
  158.       <param-value>/WEB-INF/struts-config.xml</param-value>
  159.     </init-param>
  160.     <init-param>
  161.       <param-name>debug</param-name>
  162.       <param-value>2</param-value>
  163.     </init-param>
  164.     <init-param>
  165.       <param-name>application</param-name>
  166.       <param-value>ApplicationResources</param-value>
  167.     </init-param>
  168.     <load-on-startup>2</load-on-startup>
  169.   </servlet>
  170.   <servlet-mapping>
  171.     <servlet-name>action</servlet-name>
  172.     <url-pattern>*.do</url-pattern>
  173.   </servlet-mapping>
  174. </web-app>