<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" 
	xmlns="http://java.sun.com/xml/ns/javaee" 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
	http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
  <resource-ref>
    <description>javacms</description>
    <res-ref-name>jdbc/javacms</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
  </resource-ref>
  <servlet>
	<servlet-class>gbase.init.ConfigServlet</servlet-class>
	<init-param>
         <param-name>cms_url</param-name>
         <param-value>http://www.java.com/</param-value>
        </init-param>
        <init-param>
         <param-name>ip</param-name>
         <param-value>10.17.34.78</param-value>
        </init-param>
	<load-on-startup>1</load-on-startup>
  </servlet>
  <servlet>
    <servlet-name>TaskGo</servlet-name>
    <servlet-class>gbase.timer.TaskGo</servlet-class>
    <load-on-startup>2</load-on-startup>
  </servlet>
  <filter>
	<filter-name>EncodingFilter</filter-name>
	<filter-class>gbase.filter.EncodingFilter</filter-class>
	<init-param>
     <param-name>encoding</param-name>
     <param-value>GBK</param-value>
    </init-param>
  </filter>
  <filter-mapping>
	<filter-name>EncodingFilter</filter-name>
	<url-pattern>/*</url-pattern>
  </filter-mapping>
  <filter>
	<filter-name>LoggerFilter</filter-name>
	<filter-class>gbase.filter.LoggerFilter</filter-class>
  </filter>
  <filter-mapping>
	<filter-name>LoggerFilter</filter-name>
	<url-pattern>/*</url-pattern>
  </filter-mapping>
  <servlet>
    <servlet-name>JiveServlet</servlet-name>
    <servlet-class>com.jivesoftware.forum.util.JiveServlet</servlet-class>
    <load-on-startup>4</load-on-startup>
  </servlet>
  <servlet>
    <servlet-name>multipartformserv</servlet-name>
    <servlet-class>com.jdon.picture.MultipartFormServ</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>multipartformserv</servlet-name>
    <url-pattern>/multipartformserv</url-pattern>
  </servlet-mapping>
  <welcome-file-list>
    <welcome-file>web/index.jsp</welcome-file>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>login.htm</welcome-file>
    <welcome-file>login.jsp</welcome-file>
  </welcome-file-list>
</web-app>
