Think of servlets as an extension or component of an application server.
They don't work on thier own. You couldn't just call them with the '
java' command at a dos or shell program.
The program wget is a non-gui web client that can be run from the command line or from within a shell script. It's main use is for synching up mirror sites.
So, while you can't run a servlet as a standalone java application from the command line, you can use a command line browser to hit a servlet if it's running in a container.