ReverseString Example

Demonstration

The purpose of this example is to show a simple example of a CGI script being accessed by a Java applet for the purpose of doing some computing. The applet itself uses the core JavaCGIBridge class to accomplish it's task of talking to the CGI script. In addition, a CGI-only version is included for comparison.

A CGI Script written in Perl is used to do the actual calculation after being passed the original string as a form variable.

Pure JavaCGIBridge Example ReverseString Applet

View The Source To Example1Applet.java

View The Source To JavaCGIBridge.java

View The JavaCGIBridge JavaDoc File

View The Source To JavaCGIBridgeTimeOutException.java

View The JavaCGIBridgeTimeOutException JavaDoc File

View The Source To return_reversed.cgi

Plain CGI Version of ReverseString Application

This is a form that calls the script directly.

Enter String To Reverse:

Gunther Birznieks <gunther@clark.net>