It looks like you just need to write a perl script that prints out html in the form you want, assuming this is just a static, one way communication. Otherwise you're going to need your applet to load some HTTP libraries and send data to the server and parse the results.