日期:2014-05-17  浏览次数:20884 次

求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