How can I add a counter applet to my web page?

John Zukowski

Since an untrusted applet can't write out the count anywhere, you need something to maintain the count for you, either a servlet, JSP file, or CGI script. Thankfully, some people have already created reusable solutions for you, if you don't mind losing the 'count' if they go down / disappear, as they maintain the count for you. See http://www.jcount.com/ and http://counter.bloke.com/ for two possible options.