Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTML form data to Java Applet

 
Slawomir Wieczorek
Greenhorn
Posts: 20
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HTML forms get submitted to a server, whereas applets run on the client; what is the connetcion between the two?
 
Slawomir Wieczorek
Greenhorn
Posts: 20
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I would need to get data by some servlet and then render a site with an applet embedded?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Without knowing the specifics of what you're trying to do, that sounds about right in general.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic