aspose file tools*
The moose likes JSP and the fly likes jsp counter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp counter" Watch "jsp counter" New topic
Author

jsp counter

Hansy Be
Greenhorn

Joined: Dec 11, 2003
Posts: 2
Hi friends!
i hv a simple coding of counter in jsp 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.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Yep, sounds like you need to add persistence to your counter by storing the count in a file or preferably a database.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp counter