in reply to Calling Java through CGI Script

I think that you have to put relevant code in the generated HTML to instruct the browser to download the class and (have the local Java runtime engine) execute it.