Index of  //juhani.exdecfinland.org/wasd_root/src/java/

Scripting with Java README

The WASD Java environment was first implemented in December 1997 and there has been no further development. Developed using the first-release JDK1.1 beta kit for OpenVMS Alpha V7.1. Verified working with the final release JDK 1.1.6 in September 1998, still working with the JDK 1.1.8-3 update in June 2000, then in March 2002 verified against JDK 1.3.1. Confirmed working for Java 5 and Java 6 at December 2014. That it continues to work nearly twenty years after coding is a testament (to something, not sure exactly what :-)

Java Logo

This directory provides some demonstration Java scripts. These are here only to provide examples on approaching scripting using this environment ... and of course to provide some skeletal code for use in real Java scripts.

Of course the demonstrations will only work if Java is installed on the server system!   ... Check Now

The class that makes CGI support relatively easy is CGIplus.java (javadoc).

The wrapper procedure JAVA.COM ensures the required runtime environment is established.

Note that due to the way classes are specified by the WASD server Java class names invoked as main()s must be all lower case.

For setup requirements check the Other Environments chapter in the Scripting documentation.

Directory Contents
Standard CGICGIplus Source CodeComment
CGIplus.java
javadoc
A generic class that allows Java scripts to be used in WASD's environment. The demonstration scripts all use this class.
[demo 1]
[demo 2]
[demo 3]
dumpCGI.java Simple CGI script to dump the CGI name and value pairs read from the CGIplus data stream.
[demo] [demo] hi1CGI.java
hi1CGIplus.java
Simple CGI and CGIplus scripts.
[demo] [demo] hi2CGI.java
hi2CGIplus.java
Simple CGI and CGI plus scripts providing HTML.
[GET demo]
[GET demo]
postCGI.java
postCGIplus.java
CGI and CGIplus scripts capable of processing GET requests and POSTed URL-encoded forms.

NameRevisedSizeDescription

[DIR]images/ 7-Sep-2024 13:581,024subdirectory
 
[TXT]build_java.com21-Jan-2024 09:20912DCL procedure
[TXT]build_javadoc.com21-Jan-2024 09:20199DCL procedure
[HTM]cgiplus.html21-Jan-2024 09:2012,151"Class CGIplus"
[TXT]cgiplus.java21-Jan-2024 09:2014,090Java source
[TXT]dumpcgi.java21-Jan-2024 09:201,556Java source
[TXT]hi1cgi.java21-Jan-2024 09:201,103Java source
[TXT]hi1cgiplus.java21-Jan-2024 09:201,425Java source
[TXT]hi2cgi.java21-Jan-2024 09:201,221Java source
[TXT]hi2cgiplus.java21-Jan-2024 09:202,173Java source
[TXT]java.com21-Jan-2024 09:203,549DCL procedure
[IMG]javalogo.gif21-Jan-2024 09:201,927GIF image
[HTM]packages.html21-Jan-2024 09:20457"Package Index"
[TXT]postcgi.java21-Jan-2024 09:201,858Java source
[TXT]postcgiplus.java21-Jan-2024 09:202,099Java source
[HTM]readme.html21-Jan-2024 09:204,518"Scripting with Java README"