Hi,

Here is the actual URL which is getting posted

http://localhost:9080/dashboard/emaillayout.do?function=fileUpload

I am exactly using the same URL for non-ajax request as given below(ajax
related code commented out).

        if(uploadFile != null && uploadFile.value == "")
                alert("Select the HTML file to be uploaded");  
        document.forms[0].action = "emaillayout.do?function=fileUpload";
        document.forms[0].submit();
    /*var PAGE_SUCCESS = 200; 
    requestObject = xmlHttpRequestHandler.createXmlHttpRequest();
        requestObject.onreadystatechange = processStateChange;
    var url = "emaillayout.do?function=fileUpload"; 
    try {
            requestObject.open("Get",url+"'||chr(38)||'"+Math.random(),false);
    } catch (e) {
      alert(e);
    }
    requestObject.send(null);*/
}


Regards,
Siva

--
View this message in context: 
http://struts.1045723.n5.nabble.com/Action-emaillayout-does-not-contain-specified-method-check-logs-tp4506435p4506520.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to