Incremental Revelation Applet
Here's an applet that incrementally reveals more information to you
each time you visit this page. It does this by keeping some state
around in the form of a counter. This counter gets incremented each
time you read the page, or actually, instantiate the applet class.
Pretty easy to do actually, since it just uses a module-scoped
variable to pass information between applet object instances. Of
course, you could do something similar with CGI scripts, but then,
you'd have to keep the state around on the HTTP server, and that can
be problematic.
Oh, why am I going into all this detail, when it's just as clear if
you
read the source?