> -----Original Message----- > From: A mailing list about Java Server Pages specification > > 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=20 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...)
Try googling for "meta refresh". =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL 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