aspose file tools*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 41574
    
  54
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: 41574
    
  54
Without knowing the specifics of what you're trying to do, that sounds about right in general.
 
 
subject: HTML form data to Java Applet