Changeset 1636


Ignore:
Timestamp:
2000-10-31T12:20:14+13:00 (24 years ago)
Author:
paynter
Message:

Some documentation explaining how to use the applet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/phind/client/Phind.java

    r1627 r1636  
    2929/*********************************************************************
    3030
    31 This applet should be embedded in a web page.  For example:
    32 
    33 
    34 <APPLET CODE="Phind.class" WIDTH=500 HEIGHT=600>
    35   <PARAM NAME=phindcgi    VALUE="http://www.nzdl.org/cgi-bin/phindcgi">
    36   <PARAM NAME=library     VALUE="http://www.nzdl.org/cgi-bin/library">
     31To use the applet, you'll need to embed it in a web page as follows:
     32
     33<APPLET CODE="Phind.class" WIDTH=500 HEIGHT=500>
     34  <PARAM NAME=phindcgi    VALUE="http://kowhai/cgi-bin/phindcgi">
     35  <PARAM NAME=library     VALUE="http://kowhai/cgi-bin/library">
     36  <PARAM NAME=backdrop    VALUE="http://kowhai/~paynter/transfer/phindtest/green1.jpg">
    3737  <PARAM NAME=collection  VALUE="fao.org">
    3838  <PARAM NAME=orientation VALUE="vertical">
     
    4242  The Phind java applet.
    4343</APPLET>
     44
     45You may have problems with Java applet security.  Java applet's can only
     46open socket connections (including the HTTP connections the applet uses
     47to get data) to the same server the applet was loaded from.  This means
     48that your phindcgi, library, and (optional) backdrop URLs must be on the
     49same machine that your web page was loaded from.
     50
     51**********************************************************************
    4452
    4553The applet comprises several classes:
     
    8189import java.net.InetAddress;
    8290import java.net.UnknownHostException;
    83 
    84 import java.io.OutputStream;
    85 import java.io.InputStream;
    8691import java.io.IOException;
    8792
Note: See TracChangeset for help on using the changeset viewer.