日期:2014-05-18 浏览次数:20631 次
<script type="text/javascript" src="../amq/amq.js"></script>
<script type="text/javascript" src="../js/amq/amq_jquery_adapter.js"></script>
<script type="text/javascript">
amq.uri = '../amq';
</script>
<script type="text/javascript" src="../js/amq/amqAlarm_map.js"></script>
<script>
<context-param>
<param-name>org.apache.activemq.brokerURL</param-name>
<param-value>tcp://localhost:61616</param-value>
</context-param>
<servlet>
<servlet-name>AjaxServlet</servlet-name>
<servlet-class>org.apache.activemq.web.AjaxServlet</servlet-class>
<async-supported>true</async-supported>
</servlet>
<servlet-mapping>
<servlet-name>AjaxServlet</servlet-name>
<url-pattern>/amq/*</url-pattern>
</servlet-mapping>