How to call a jsp or servlet from a html to display the count on same page

In our site there is counter that counts the hits..

Now there is a javascript for the counter not working fine.

Is it possible to call a servlet or jsp from the html page

that returns the count & to display on the same html page ..?

how is it?

thanks in advance

[309 byte] By [thomas747] at [2007-9-26 1:15:00]
# 1
Perhaps you could store an object in servlet context to track .please give more details.
MARCLAURENS at 2007-6-29 0:39:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...