Changeset 1636
- Timestamp:
- 2000-10-31T12:20:14+13:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/phind/client/Phind.java
r1627 r1636 29 29 /********************************************************************* 30 30 31 T his 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">31 To 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"> 37 37 <PARAM NAME=collection VALUE="fao.org"> 38 38 <PARAM NAME=orientation VALUE="vertical"> … … 42 42 The Phind java applet. 43 43 </APPLET> 44 45 You may have problems with Java applet security. Java applet's can only 46 open socket connections (including the HTTP connections the applet uses 47 to get data) to the same server the applet was loaded from. This means 48 that your phindcgi, library, and (optional) backdrop URLs must be on the 49 same machine that your web page was loaded from. 50 51 ********************************************************************** 44 52 45 53 The applet comprises several classes: … … 81 89 import java.net.InetAddress; 82 90 import java.net.UnknownHostException; 83 84 import java.io.OutputStream;85 import java.io.InputStream;86 91 import java.io.IOException; 87 92
Note:
See TracChangeset
for help on using the changeset viewer.