Hi. I have a Java Applet with an assortment of buttons that is loaded onto an html web page. I would like any given button to run my ASP code which returns a web page containing results from a database query. But I can't figure out how to link the button to my ASP file. Any suggestions?

Thanks, Elise

You can't run ASP inside a JVM.
You can make an HTTP request to the server from which you got the applet, calling the ASP, and do something with the result.
Assuming of course you're hosting your applet on a server that can execute ASP.

You can't run ASP inside a JVM.
You can make an HTTP request to the server from which you got the applet, calling the ASP, and do something with the result.
Assuming of course you're hosting your applet on a server that can execute ASP.

I am hosting my applet on a server that can execute ASP. How do I make an HTTP request to the server?

Hey. I figured it out. I used the showDocument method of the AppletContext Interface.

Thanks jwenting for your help.

This question has already been answered. Start a new discussion instead.