Dear Sir/Madam,


I am running HTML PAGE in one frame(frame1) and JSP in another
frame(frame2), My jsp is running continuesly, and then keep calling
javascript which is on HTML page ( frame1), which in turns keep updating
data on frame1 via ID reference on frame1 which is inside <DIV> element.

My problem is after some time CPU usage increses to 100% and also memeory
keeps increasing, even after 100 data has been posted, I keep remvoing data
from the frame1 but no change of cpu usage. How can I solve this problem ? I
am using innerHTML property to keep updating new data on the top of exisitng
data. even when I tried simple example of just adding counter+1 to html page
via JSP, same problem of performance

Looks to me since I am running JSP forever, I am running out of resource but
I need to run that in while loop forever since I keep getting new data, so
how do I solve this problem?

Any help will be greatly appericiated


Regards,

_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to