hi!!

plz help me out.........

i have a problem in xmldoc.load function...

following is my code...

function parseXML(t1)
{
try
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
}
catch(e)
{
try
{
xmlDoc=document.implementation.createDocument(""," ",null);
}
catch(e)
{
alert(e.message);
return;
}
}
xmlDoc.async=false;
xmlDoc.load("mytext1.xml");
var x=xmlDoc.documentElement.childNodes;
for (var i=0;i<x.length;i++)
{
if (x[i].nodeType==1)
{
//Process only element(nodeType 1) nodes
t1[i]="NODENAME="+x[i].nodeName + ": ";
// document.write("t1="+t1[i]);
// document.write("value="+xmlDoc.getElementsByTagNam e(x[i].nodeName)[0].childNodes[0].nodeValue);
var y=xmlDoc.getElementsByTagName(t1)[0].childNodes[0].nodeValue;
// document.write("y="+y);








this is working fine as a standalone application..bt wen it is bundled with several other files as a ear file and deployed on server.. it is not working.. i mean xmldoc.load function does not load that xml file at all... any solution...