当前位置: 代码迷 >> Java Web开发 >> 求Java配置文件解读(web.xml),请教这是什么框架,都用到了java的哪些知识或者工具啊
  详细解决方案

求Java配置文件解读(web.xml),请教这是什么框架,都用到了java的哪些知识或者工具啊

热度:9921   发布时间:2013-02-25 21:21:38
求Java配置文件解读(web.xml),请问这是什么框架,都用到了java的哪些知识或者工具啊?
[size=24px]求Java配置文件解读(web.xml),请问这是什么框架,都用到了java的哪些知识或者工具啊?
XML code
[/size]<?xml version="1.0" encoding="UTF-8"?><web-app version="2.4" 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">    <!-- session listener-->    <listener>        <listener-class>            com.aostaryh.agdev.suite.global.util.AgdevSuiteSessionListener        </listener-class>    </listener>    <!--set spring listern-->    <listener>        <listener-class>            org.springframework.web.context.ContextLoaderListener        </listener-class>    </listener>    <context-param>        <param-name>contextConfigLocation</param-name>        <param-value>            /WEB-INF/config/beans-config/bean-core-config.xml,            /WEB-INF/config/beans-config/bean-formdesign-config.xml,            /WEB-INF/config/beans-config/bean-xxx-config.xml,            /WEB-INF/config/beans-config/bean-xxx-config.xml,            /WEB-INF/config/beans-config/bean-xxx-config.xml        </param-value>    </context-param>    <!--mvc controller servlet-->    <servlet>        <servlet-name>agdev_controller</servlet-name>        <servlet-class>            com.aostaryh.agdev.framework.core.webctrl.PjDispatcherServlet        </servlet-class>        <init-param>            <param-name>contextConfigLocation</param-name>            <param-value>            /WEB-INF/config/mvc-config/mvc-core-config.xml,            /WEB-INF/config/mvc-config/mvc-formdesign-config.xml,            /WEB-INF/config//mvc-config/mvc-xxx-config.xml,            /WEB-INF/config//mvc-config/mvc-xxx-config.xml            </param-value>        </init-param>        <load-on-startup>1</load-on-startup>    </servlet>    <!-- MessageBroker Servlet Flex-->    <servlet>        <servlet-name>MessageBrokerServlet</servlet-name>        <servlet-class>            flex.messaging.MessageBrokerServlet        </servlet-class>        <init-param>            <param-name>services.configuration.file</param-name>            <param-value>                /WEB-INF/config/flex-config/services-config.xml            </param-value>        </init-param>        <load-on-startup>1</load-on-startup>    </servlet>    <servlet-mapping>        <servlet-name>MessageBrokerServlet</servlet-name>        <url-pattern>/messagebroker/*</url-pattern>    </servlet-mapping>    <!--DWR config-->    <servlet>        <servlet-name>dwr-invoker</servlet-name>        <servlet-class>uk.ltd.getahead.dwr.DWRServlet</servlet-class>        <init-param>            <param-name>debug</param-name>            <param-value>true</param-value>        </init-param>        <init-param>            <param-name>maxCallCount</param-name>            <param-value>30</param-value>        </init-param>        <init-param>            <param-name>config-workflow-dwr</param-name>            <param-value>                /WEB-INF/config/dwr-config/dwr-agdev-config.xml            </param-value>        </init-param>        <load-on-startup>2</load-on-startup>    </servlet>    <servlet-mapping>        <servlet-name>agdev_controller</servlet-name>        <url-pattern>*.do</url-pattern>    </servlet-mapping>    <servlet-mapping>        <servlet-name>dwr-invoker</servlet-name>        <url-pattern>/dwr/*</url-pattern>    </servlet-mapping>    <!--web filter-->    <filter>        <filter-name>initialize</filter-name>        <filter-class>            com.aostaryh.agdev.suite.global.util.AgdevSuiteWebFilter        </filter-class>    </filter>    <!--web filter mapping -->    <filter-mapping>        <filter-name>initialize</filter-name>        <url-pattern>*.jsp</url-pattern>    </filter-mapping>    <filter-mapping>        <filter-name>initialize</filter-name>        <url-pattern>*.do</url-pattern>    </filter-mapping>    <filter-mapping>        <filter-name>initialize</filter-name>        <url-pattern>/fileDownload/*</url-pattern>    </filter-mapping>    <filter-mapping>        <filter-name>initialize</filter-name>        <url-pattern>/dwr/*</url-pattern>    </filter-mapping>    <filter-mapping>        <filter-name>initialize</filter-name>        <url-pattern>/messagebroker/*</url-pattern>    </filter-mapping>    <!--ECSide配置-->    <filter>        <filter-name>ecsideExport</filter-name>        <filter-class>org.ecside.filter.ECSideFilter</filter-class>        <init-param>            <param-name>useEasyDataAccess</param-name>            <param-value>true</param-value>        </init-param>        <init-param>            <param-name>useEncoding</param-name>            <param-value>true</param-value>        </init-param>        <init-param>            <param-name>encoding</param-name>            <param-value>GBK</param-value>        </init-param>    </filter>    <filter-mapping>        <filter-name>ecsideExport</filter-name>        <url-pattern>/*</url-pattern>    </filter-mapping>    <servlet>        <servlet-name>FileDownload</servlet-name>        <servlet-class>            com.aostaryh.agdev.suite.upload.web.AttachDownloadServlet        </servlet-class>    </servlet>    <servlet-mapping>        <servlet-name>FileDownload</servlet-name>        <url-pattern>/fileDownload/*</url-pattern>    </servlet-mapping>    <!--session timeout-->    <session-config>        <session-timeout>10</session-timeout>    </session-config>    <!--idev weclome index page-->    <welcome-file-list>        <welcome-file>index</welcome-file>        <welcome-file>index.jsp</welcome-file>    </welcome-file-list>    <!--agdev tag config-->    <jsp-config>        <taglib>            <taglib-uri>/WEB-INF/agdev-taglib.tld</taglib-uri>            <taglib-location>                /WEB-INF/tld/agdev-taglib.tld            </taglib-location>        </taglib>        <taglib>            <taglib-uri>/WEB-INF/agdev-workflow.tld</taglib-uri>            <taglib-location>                /WEB-INF/tld/agdev-workflow.tld            </taglib-location>        </taglib>        <taglib>            <taglib-uri>/WEB-INF/ecside.tld</taglib-uri>            <taglib-location>/WEB-INF/tld/ecside.tld</taglib-location>        </taglib>    </jsp-config></web-app>
  相关解决方案
本站暂不开放注册!
内测阶段只得通过邀请码进行注册!