【问题标题】:Compiling a flex application with services-config.xml, with an unknown context.root使用 services-config.xml 编译 flex 应用程序,带有未知的 context.root
【发布时间】:2009-12-16 12:00:02
【问题描述】:

我想用 services-config.xml 文件编译我的 flex 应用程序。但是,我不得不提供 context.root。

在我的设置中,在我的 .war 文件被命名并放入 webapps 目录之前,上下文根(上下文路径)是未知的。

似乎必须有办法做到这一点,但我一直想不出任何办法。

有什么想法吗?

【问题讨论】:

    标签: apache-flex flash actionscript-3 blazeds


    【解决方案1】:

    您应该能够在 services-config.xml 中定义动态 context.root

    <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
    

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-01-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多