A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Joined: Dec 11, 2003
Dec 13, 2003 06:32:00
i hv a simple coding of counter in
and its go on working well but when server is restarted then its go on counting from start i.e 1 and all the previous countings are vanished.
Joined: Mar 06, 2001
Dec 13, 2003 06:48:00
Yep, sounds like you need to add persistence to your counter by storing the count in a file or preferably a database.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: jsp counter
Expression <%= new Counter() %>
JSP variable declarations
Multiple actions on timers anyone?
cant/wont clear the counter out
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015