A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Not SetInterval() is applicable for scriplet
Joined: Dec 21, 2012
Jan 01, 2013 22:39:06
I want to display message for every five seonds in Server side using scriplet. For this, i have added below code.
But it is showing the message "Five Seconds" only once. if we put alert() inside show() method, i displays alert message for every 5 seconds.
I dont now the reason. Please help me.
Author and ninkuma
Joined: Jan 10, 2002
Jan 01, 2013 23:09:34
You cannot mix
to understand how JSP operates and why this is impossible.
So, what is it that you are actually trying to accomplish?
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Not SetInterval() is applicable for scriplet
Undefined Array Problem
running servlet after the browser is closed
Alert and setTimeout methods behaving differently in IE and Safari
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013