This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Applets and the fly likes HTML form data to Java Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Applets
Bookmark "HTML form data to Java Applet" Watch "HTML form data to Java Applet" New topic
Author

HTML form data to Java Applet

Slawomir Wieczorek
Greenhorn

Joined: Dec 07, 2011
Posts: 20

Hi guys.
What is the simplest way to obtain data from html form by an applet?

<form>
Variable A: <input type="text" name="A">

Variable B: <input type="text" name="B">

<input type="submit" value="Submit">
</form>
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42042
    
  64
HTML forms get submitted to a server, whereas applets run on the client; what is the connetcion between the two?


Ping & DNS - my free Android networking tools app
Slawomir Wieczorek
Greenhorn

Joined: Dec 07, 2011
Posts: 20

So I would need to get data by some servlet and then render a site with an applet embedded?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42042
    
  64
Without knowing the specifics of what you're trying to do, that sounds about right in general.
 
GeeCON Prague 2014
 
subject: HTML form data to Java Applet