Now I am doing this:
In my applet, I connect to the URL of the CGI script that starts the server process.
Is there a better way? How would you do that?
Thank!
Using a simple HTTP call (as I assume you did) is the best way to do this.
There are other network protocols, but there is a risk that they may be blocked for security reasons.
If that's all the applet does, then you can do the same thing easier with a little Javascript embedded in the web page ... or perhaps with simple HTML <form>and <button>in the web page.
<form>
<button>
, , , Java-.