It is a Java servlet implements simple visitors counter. You can add this counter via HTML iframe tag to your pages.
How to use it:
a) copy counterPackage.jar into your WEB-INF/lib directory.
b) define TextCounter servlet in your web.xml file.
c) describe a mapping for servlet in web.xml file:
Now you can write on your pages some like that:
As a parameter for this servlet you have to provide a path to some file on your server. You can use of course different files for
different pages etc. Alternatively, you can provide a path to data file as an initial parameter
for this servlet. Parameter's name is data:
For downloading: counterPackage.jar
See also JSOS - the largest collection of servlets and filters.
Related links: