Hi I was recently told that an applet can communicate with an html form. For example it can take info from a user in and pass it to a servlet through the html form. Can anyone show me some code!!! The applet (i'm guessing) would be embedded in the form tags? <form> <applet codebase = "." code = "applettest.first.class" name = "TestApplet" width = "400" height = "300" hspace = "0" vspace = "0" align = "middle" > </applet> </form> but the communication btwn the three things I'm lost. I have working servlets and beans (post/get)
The magic word is java.net.HttpURLConnection. That's how you send an HTTP request from within an applet and receive its reponse.
"privilege" comes from the Latin words for "private" and "law" (legal) and dates to feudal times. To "claim privilege" meant that you were above the laws that applied to the common people.
posted 18 years ago
How do I do that. Say I have a database called animals. the applet has a text field where a user can type in the animal that want to search. say dog. the user presses submit on the applet it goes to the servlet does it's stuff in the back with the dataAccess beans and then a reply is sent to the same applet yes dog is there! can i see some code please.