Hello everyone,
I have a JSP page which has one textbox and two buttons namely 'Check Availability' and 'Upload'. When the user clicks on 'Check Availability', one javascript function gets executed and in that function I have written some code which gets the value of the textbox and passes it as a message to the Doclist widget through OpenAjaxHub oMessage. On the other hand, when the user clicks on 'Upload', one servlet gets invoked and that servlet gets the textbox value and creates a file in the docbase with the value of the textbox as the file name. But after transferring the control from the servlet to the calling JSP, if I click on 'Check Availability' button again, I get some errors in the console like "Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://undefined') does not match the recipient window's origin" and "Uncaught Error: OpenAjax.hub.Error.Disconnected". I don't know why this error is occuring. If someone has a solution for this, it will be really helpful for me.
Thank you...