Display of values changing with time. 2004-05-31 - By Rommel Sharma
Back Hi Guys,
I want to create a JSP page in which a thread runs that should print a number from 1 to 10, after every 2 seconds.
That is first the web page shows 1, then after two seconds it shows 2, and so on, but what happens is that the page appears after approx. 2*10 seconds, and prints the numbers from 1 to 10 in one go, not what I want.
Can anybody suggest me a solution? (I know this can be elegantly done using a JavaScript but I want a JSP solution...)
Thanks, Rommel.
********************************************************* Disclaimer:
This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this message, or the taking of any action based on it,
is strictly prohibited.
********************************************************* Visit us at http://www.mahindrabt.com
==========================================================================To unsubscribe: mailto listserv@(protected) with body: "signoff JSP-INTEREST". For digest: mailto listserv@(protected) with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
|
|