Applet Name: Post
Applet Source: PostExample.java
Import(s): java.io, java.applet, java.util, java.awt, java.net
Feature(s): text, network
Author: Ronald Tschalaer
PostExample gives an example of how to POST a request to a cgi-script
(used mainly in forms). It takes no parameters and is meant provide a skeleton
for your actual applet. The following variables are important:
script - the script to which the data is POST'ed.
sdata - the data to POST. In forms this usually has the form "name=value",
but may be anything.
rdata - any data that is returned by the script. This data is written
to the display.
rhdrs - the response headers. These are also written to the display.
Usage Example:
<APPLET CODE="PostExample.class" WIDTH=600 HEIGHT=800> </APPLET>