• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error-Stop Running this script  RSS feed

 
Garg Divya
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am using Window 7 OS and IE 8. Following is the scriptlet code which is executed when page gets load(first time).



This code is used to populate the select boxes used in JSP. We have five similer type of select boxes populated with same data. So the same type of code execute five times when page gets lode. Every select box comtains approx 200(200 iteration per loop) options. So At the time of page loading 1000 records(1000 total iterations of loops) get poputated with other overhead of other controls. Becuase of this I am facing
IE ALERT-Stop Running this script
We have also used Dojo controls for look an feel. On IE options Disable Script Debugging check box id checked and Display a notification about every script error check box is unchecked.

I had optimized my code to reduce the execution time. I had tried with every possible method to reduce the execution time but could not get success.

Please help me with any suggestion or ideas. Thanks in advance.




 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66144
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This has nothing to do with JSP or the (poor practice) Java code in your JSP. That is an error in JavaScript, not Java. It means that you have a client-side script that is in an infinite loop.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!