Changeset 38794


Ignore:
Timestamp:
2024-02-26T17:12:23+13:00 (3 months ago)
Author:
anupama
Message:

Got the awt Phind Applet to work through the appletviewer Java executable, so that I can next try to compare where the new swing JFind JApplet class is different and hopefully try to get it to work also.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/applet/phind/Phind.java

    r13245 r38794  
    2626 *********************************************************************/
    2727
     28/*
     29TO TEST THIS APPLET (now that applets are deprecated by browsers), you can run the appletviewer
     30executable included with java as follows, assuming JAVA_HOME is on the path:
     31
     32  appletviewer "http://localhost:8383/greenstone3/gs2-library?a=a&rt=d&s=PhindApplet&c=tudor"
     33
     34where the URL passed in is a collection ("tudor" in the example) which has been built
     35with a PhindClassifier. I followed the Tudor GS3 tutorials to create the tudor collection.
     36*/
    2837
    2938/*********************************************************************
     
    591600    // we assume this is relative to the greenstone library
    592601    phindcgi_address = parameterValue("library")+parameterValue("phindcgi");
     602    phindcgi_address = phindcgi_address.replace("&", "&");
    593603    phindcgi_address = tidy_URL(phindcgi_address, true);
    594604    System.out.println("Phind phindcgi: " + phindcgi_address);
Note: See TracChangeset for help on using the changeset viewer.