| | |
Can I run an ASP file from a Java Applet Button?
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
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
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 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.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
I am hosting my applet on a server that can execute ASP. How do I make an HTTP request to the server?
![]() |
Similar Threads
- How to run a *.exe file in Java (Java)
- can i run jar file in win ce os (Java)
- Java Applet [Move Image] (Java)
- ASP file with database connection problem (ASP)
- calling the internet browser from a java applet (Java)
Other Threads in the Java Forum
- Previous Thread: how to read CSV file in java
- Next Thread: HELP for threads
| Thread Tools | Search this Thread |
-xlint android api applet application array arrays automation bi binary blackberry block bluetooth chat class classes client code compile compiler component database developmenthelp draw eclipse error event exception fractal freeze game gameprogramming givemetehcodez graphics gui html ide image input integer j2me j2seprojects java javac javaprojects jetbrains jni jpanel jtable julia learningresources lego linux list login loop loops mac map method methods mobile netbeans newbie notdisplaying number online oracle page print problem program programming project qt recursion scanner screen server set singleton size sms sort sql string swing system template textfields threads time title tree tutorial-sample update variablebinding windows working xor






