0 Replies Latest reply on Mar 30, 2010 3:52 PM by Johnking08

    BlazeDS: how to set the tokens {server.name}, {server.port}, {context-root} in services-config.xml

    Johnking08 Level 1

      Does anyone know how the three tokens, {server.name}, {server.port}, {context-root}, in services-config.xml are set at runtime?

      I think BlazeDS can find the server's info and context root when the blazeds application is loaded in the web server.

      I can hardcode the tokens (ie, localhost, 8080, blazeds) in the services-config.xml. My questions are


      Can we set the tokens of the server side services-config.xml in an external file?


      Is it possible to use the tokens in the client side services-config.xml when compiling the client Flex code?