File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android 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: 41124
    
  45
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: 41124
    
  45
Without knowing the specifics of what you're trying to do, that sounds about right in general.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTML form data to Java Applet
 
Similar Threads
I get ServletException from a very simple html form
how to send parameter from html to jsp??
form problems
Internationalization (specifically with Chinese characters)
More problems with file uploads