- Timestamp:
- 2018-02-12T15:06:35+13:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/PageAction.java
r31872 r32127 411 411 Element applet_elem = doc.createElement("Applet"); 412 412 page_response.appendChild(applet_elem); 413 applet_elem.setAttribute("ARCHIVE", "SignedGatherer.jar"); 413 applet_elem.setAttribute("ARCHIVE", "SignedGatherer.jar"); // SignedGatherer.jar should be placed in web/applet. 414 414 applet_elem.setAttribute("CODE", "org.greenstone.gatherer.GathererApplet"); 415 applet_elem.setAttribute("CODEBASE", "applet"); 415 applet_elem.setAttribute("CODEBASE", "applet"); // SignedGatherer.jar is in web/applet. But CODEBASE is the *URL* path to the (jar) file containing the main class, and is relative to documentroot "web". 416 416 applet_elem.setAttribute("HEIGHT", "50"); 417 417 applet_elem.setAttribute("WIDTH", "380"); 418 418 419 Element gwcgi_param_elem = doc.createElement("PARAM"); 419 420 gwcgi_param_elem.setAttribute("name", "gwcgi"); … … 426 427 gsdl3_param_elem.setAttribute("value", "true"); 427 428 applet_elem.appendChild(gsdl3_param_elem); 428 429 430 Node default_text = doc.createTextNode("GLI applet"); 431 applet_elem.appendChild(default_text); 432 429 433 return page_response; 430 434 }
Note:
See TracChangeset
for help on using the changeset viewer.