I have a very strange problem! I use an htmlLoader to load a url. This url is a java servlet that creates html response (via java dom4j HtmlWriter). The html content is displayed properly into all available browsers but unfortunatelly the flex htmlLoader component does not load anything. It is strange that, when i save the response of the servlet as an html file and put it in my apache web container, the htmlloader loads successfully the content.
In other words the same html content although is loaded properly from an html file, it is not loaded when it results from a servlet (the exactly same html code). I would be gratefull for any kind of help.
Ok solved. Thought my response was valid html content , the response also needed a content type "html/text" in the servlet (i was thinking that by using the dom4j htmlWriter was enough but it was really Not).