当前位置: 代码迷 >> Web前端 >> 公司flex-java通讯需要配置的web.xml
  详细解决方案

公司flex-java通讯需要配置的web.xml

热度:155   发布时间:2012-09-14 11:53:44.0
公司flex-java通信需要配置的web.xml

<!-- Http Flex Session attribute and binding listener support -->

<listener>

<listener-class>flex.messaging.HttpFlexSession</listener-class>

</listener>

?

? ? ? ?? ?<!-- MessageBroker Servlet -->

<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/wq/flex/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>

?

? ?-----services-config.xml文件中配置有java类的相关信息?

  相关解决方案