0 Replies Latest reply on Mar 28, 2008 11:35 AM by Solerous

    Generic server name, port, context for deployment

    Solerous
      I need to move my application onto the server for deployment. Up til now, I have been running a server using localhost for my app. But I need to get the context root and run from there. I tried using @ContectRoot but it did not give me the server. Here is a snippet from the code? How do I do this?

      // on the deployment I need to replace localhost with server name, port, and context root
      public var dbURL:String = " http://localhost:8888/proj/loader";

      <mx:HTTPService id="sysOps" useProxy="false" method="GET"
      fault="handleFault(event);" url="{dbURL}"/>