Click to See Complete Forum and Search --> : Problem in JSRS


bvijayk
01-14-2004, 05:23 AM
I am using the Javascript Remote Scripting call, jsrsexecute(...) in a JSP which places a remote call to the action class which is part of the jakarta struts application which i am working on. The action class returns back control to the calling jsp. I have written a javascript function to which the call will be returned to. Based on some conditions, the jsrsexecute will be called once again. The user is shown a progress bar till this process gets over.

I have been noticing that intermittently the call to the jsrsexecute doesnt happen resulting in the progressbar losing contact with the action class and hence the user sees the progressbar running on and on even after the background process gets over.

Can anyone help me out in solving this problem. I am unable to find out the reason for the jsrsexecute failing suddenly. This happens pretty inconsistently.

Thanks
Vijay

Khalid Ali
01-14-2004, 07:22 AM
if you don't get any errors on client side(in the browser - Mozilla /netscape browsers have a built in debugger for JavaScript errors that gives pretty good detail)..??

if not that I am more then certain that there is some problem in the class that executes this method in the jsp/strut side