Can I execute an ASP script from an applet by opening a URL connection and specifying the complete URL of the script?

John Zukowski

Yes, as long as the connection is to the web server from which the applet came, an applet can make the connection. Since ASP executes within the web server, like JSP and servlets, the applet is completely unaware of what is actually going on there, only that it make a connection to the web server as is waiting for a response.

Also see How can my applet communicate with my servlet? and How can I download files from a URL using HTTP? for additional information.