Hi
  I did a XML file reading from server in flex application. It is working
fine in Tomcat.

*Snippet of code*
*                *private var settings:XML;

public function load():void {
var loader:URLLoader=new URLLoader();
loader.addEventListener(Event.COMPLETE, onComplete);
loader.addEventListener(IOErrorEvent.IO_ERROR, onError);
loader.load(new URLRequest("conf\sample.xml"));
}

private function onComplete(event:Event):void {
settings = new XML(URLLoader(event.target).data);
                        Alert.show(settings.toString());
                }

private function onError(event:ErrorEvent):void {
                       Alert.show("Load Failed");
                }

I run application http://localhost:8080/TestFile/Test.html

       Deployed all files under webapps/TestFile. Screens alerts displays
XML file

  While deploying same application Websphere Server facing problem in
reading file

       It is not reading conf\sample.xml. Screens alerts"Load Failed"

- I tried various approach all are failure
- I tried using URLUtil as well

*     Is it using relative path in flex application is not possible when
deploying application websphere ?*



Thanks
Deepan

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to