Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Sending Javascript call in servlet response.

843841Jul 22 2005 — edited Jul 22 2005
I 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 19 2005
Added on Jul 22 2005
1 comment
212 views