Solution Required for Problem in "Ajax in Struts-based Web Application"
=======================================================================
In the Web-app, there is table to which multiple rows can be added ..the
rows are filled by ajax calls...rows may be deleted as well in which case the deletion is done from client-side javascript call and then refreshing the undeleted rows using the same ajax call...
Now things work fine till the number of rows are limited to five(in
mozilla-based browsers) and 3(in IE).....However if the no. of rows exceeds the aforementioned, then ajax-call ("send" part) fails to dispatch the request and the Javascript console displays the following error:
Error: [Exception... "Component returned failure code: 0x80040111
(NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111
(NS_ERROR_NOT_AVAILABLE)" location: "JS frame ::
http://localhost:8080/catissuecore/Distribution.do?operation=add&pageOf=pageOfDistribution&menuSelected=16 :: processRequestOnSpecimenIdChange :: line 370" data: no]
Source File:
...............
Line: 370
Now line 370 is:
if (req.status == 200) {
...Any pointers ??