David's Servlet Archive |
CounterServlet is a servlet that maintains a counter for individual web pages. Web pages hitcount is displayed by invoking the CounterServlet as a server-side-include. An example of HTML to invoke the servlet is the following
<servlet code=CounterServlet></servlet> hits since April 1998
Installation under the Java Web Server is easy - simply install the CounterServlet as you would any other servlet, and create a new page containing the servlet tag, and whose filename ends in '.shtml'. Installation under other server types may require different steps.
Available as source, and binary
Last updated : Monday, August 09, 1999 |
To submit your own servlet, email dodo@fan.net.au |