How can I call a servlet from a CGI script (written in Perl)?

John Zukowski

Calling a servlet from a perl script is no different than getting information from any other URL. The perl script has no clue its a servlet and doesn't need to know this.

[In other words: use HTTP, and the standard Perl HTTP libraries, but open the connection to localhost if it's on the same box. -A]