Sending Javascript call in servlet response.
843841Jul 22 2005 — edited Jul 22 2005I am calling a servlet from a javascript ( .js) file. Based on the status of the server I want send javascript function call to the client browser.
Is it possible?
Here is what I am trying to do :
response.sendRedirect("javascript:myfinction()");
myfunction() is defined in the source .js file from where I am calling the servlet.
Hope you understand what I am trying to do. Please help.
Thanks
Pradip