I am using an app Server{Jboss] to host Flex files .
I want to call 

<mx:HTTPService id="reportProfile" resultFormat="e4x" useProxy="false"
    result="showReports(event)" 
url="http://machineName:8080/ContextPath/flex/showReports.do"/>


how do i replace this part url= 
"http://machineName:8080/ContextPath/flex/showReports.do"; with 
"/ContextPath/flex/showreports.do" . 

Otherwise its link depending on the environment i have to keep changing the 
machineName and port 

Reply via email to